diff --git a/README.md b/README.md index 84da2b5..43b14fc 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,9 @@ with methods like `release()` and `get()` and overloaded `->` and `*` operators ## 2. Customizable: with `#define`s you can include / exclude methods, operators and constructors from `oop_ptr` definition +## 3. Simple and understandable: +easy to analyze source code + # Documentation ``` c++ @@ -165,13 +168,13 @@ In following definitions replace `b` with name of the base class and `c` with na | `OOP_PTR_PTR_MOVE_OPERATOR` | `operator=(T* ptr)` | no | > [!WARNING] -> Do not define both: `OOP_PTR_PTR_COPY_OPERATOR` and `OOP_PTR_PTR_MOVE_OPERATOR` at once. +> Do not define both: `OOP_PTR_PTR_COPY_OPERATOR` and `OOP_PTR_PTR_MOVE_OPERATOR` at once. > Do not define both: `OOP_PTR_PTR_COPY_CONSTRUCTOR` and `OOP_PTR_PTR_MOVE_CONSTRUCTOR` at once. It is also possible to change name of the method generated by macros with `oop_ptr_get_copy` `#define`. ``` c++ -#define oop_ptr_get_copy awesomeNamedMethod +#define oop_ptr_get_copy awesomelyNamedMethod ``` By default (if `oop_ptr_get_copy` is not defined) macros will generate method named: `get_copy_ptr`