-rw-r--r-- | doc/source-highlight-lib.texi | 6 |
diff --git a/doc/source-highlight-lib.texi b/doc/source-highlight-lib.texi index 165c2a4..cc625ef 100644 --- a/doc/source-highlight-lib.texi +++ b/doc/source-highlight-lib.texi @@ -261,9 +261,9 @@ classes of the libraries do not take a pointer or a reference to a class, say @code{MyClass}, but an object of type @code{MyClassPtr}; these are @cindex shared pointers -@emph{shared pointers}, in particular the ones provided by the Boost -libraries (they are typedefs using, e.g., -@code{boost::shared_ptr<MyClass>}). This will avoid dangerous dangling +@emph{shared pointers}, in particular the ones provided by the C++ +standard library (they are typedefs using, e.g., +@code{std::shared_ptr<MyClass>}). This will avoid dangerous dangling pointers and possible memory leaks in the library. If on the contrary, a method or a constructor in a class of the library |