为什么多线程读写 shared_ptr 要加锁?(二)

2014-11-24 08:18:51 · 作者: · 浏览: 2
ed(),后者再传给 Foo::Foo(),这只有在 C++11 里通过 perfect forwarding 才能完美解决。