标签: c++ memory-management smart-pointers
这两行之间是否有区别:
std::unique_ptr<A> a1 = CreateA(); std::unique_ptr<A> a2(CreateA());