https://blog.csdn.net/CPriLuke/article/details/79462791(顺便把shared_ptr内容也处理好)

make_shared()的过程中会寻找构造函数,一般是copy construct,涉及到拷贝就要考虑到资源的浪费,得多注意。

相关文章: