diff --git a/doc/smart_ptr/introduction.adoc b/doc/smart_ptr/introduction.adoc index 1d0a837..62a82fe 100644 --- a/doc/smart_ptr/introduction.adoc +++ b/doc/smart_ptr/introduction.adoc @@ -31,7 +31,7 @@ This library provides six smart pointer class templates: * `<>`, used to contain ownership of a dynamically allocated object to the current scope; * `<>`, which provides scoped ownership for a dynamically allocated array; * `<>`, a versatile tool for managing shared ownership of an object or array; -* `<>`, a non-owning observer to a shared_ptr-managed object that can be promoted temporarily to shared_ptr; +* `<>`, a non-owning observer to a `shared_ptr`-managed object that can be promoted temporarily to `shared_ptr`; * `<>`, a pointer to objects with an embedded reference count; * `<>`, providing shared ownership within a single thread. @@ -39,10 +39,11 @@ This library provides six smart pointer class templates: In addition, the library contains the following supporting utility functions and classes: -* `<>`, a factory function for creating objects that returns a `shared_ptr`; +* `<>` and `allocate_shared`, factory functions for creating objects that return a `shared_ptr`; * `<>`, a factory function returning `std::unique_ptr`; * `<>`, a factory function for creating objects using an allocator that returns a `std::unique_ptr`; * `<>`, a helper base class that enables the acquisition of a `shared_ptr` pointing to `this`; +* `<>`, a newer and better replacement for `enable_shared_from_this`; * `<>`, a helper trait for converting one smart pointer type to another; * `<>` and companions, generic smart pointer casts; * `<>`, a helper base class containing a reference count.