provide new factory function make_counted
make_counted creates a new objects of type T and wraps it in an intrusive_ptr, just like STL's make_shared is used to create a shared_ptr
Showing
Please register or sign in to comment
make_counted creates a new objects of type T and wraps it in an intrusive_ptr, just like STL's make_shared is used to create a shared_ptr