enable_shared_from_this - overview, examples, and internals--nextptr -- Hitesh Kumar

Save to:
Instapaper Pocket Readability

Usage and internals of std::enable_shared_from_this<T>: 

enable_shared_from_this - overview, examples, and internals

by Hitesh Kumar

From the article:

Public inheritance from enable_shared_from_this<T> enables a class T to  create additional shared_ptr instances to itself. Typically, enable_shared_from_this holds a weak_ptr to create shared_ptr on demand.

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.