how can pointer passed method expects intrusive_ptr (such 1 boost)? shared_ptrs there enable_shared_from_this
.
when using intrusive_ptr
class responsible handling reference counts. passing pointer easy!
all has increment own reference counter , pass this
. done.
Comments
Post a Comment