Open lwho opened 10 years ago
http://pioneerspacesim.net/forum/viewtopic.php?f=3&t=267
std::enable_shared_from_this
RefCountedPtr<Class>
std::shared_ptr<Class>
shared = bare_ptr->shared_from_this();
shared_ptr
RefCounted
http://pioneerspacesim.net/forum/viewtopic.php?f=3&t=267
Migration steps for a class
std::enable_shared_from_this
RefCountedPtr<Class>
tostd::shared_ptr<Class>
shared = bare_ptr->shared_from_this();
where necessary (there must already be ashared_ptr
for the object.Current
RefCounted
classes