What is boost's shared_ptr(shared_ptr const & r, T * p) used for?

后端 未结 6 1224
孤街浪徒
孤街浪徒 2021-02-01 04:28

boost::shared_ptr has an unusual constructor

template shared_ptr(shared_ptr const & r, T * p);

and I a

6条回答
提交回复
热议问题