|
rogue
|
Typed shared-from-this helper for Rogue classes. More...
#include <EnableSharedFromThis.h>
Public Member Functions | |
| std::shared_ptr< T > | shared_from_this () |
Returns a shared_ptr<T> for this instance. | |
Public Member Functions inherited from rogue::EnableSharedFromThisBase | |
| virtual | ~EnableSharedFromThisBase () |
| Virtual destructor for polymorphic base usage. | |
Typed shared-from-this helper for Rogue classes.
Use this in place of directly inheriting std::enable_shared_from_this<T> for Rogue classes that may participate in multiple inheritance and Python wrapping.
| T | Final/derived class type. |
Definition at line 52 of file EnableSharedFromThis.h.
|
inline |
Returns a shared_ptr<T> for this instance.
T. Definition at line 58 of file EnableSharedFromThis.h.