我收到以下错误:
“make_unique”不是“std”的成员
当它编写以下代码时: std::make_unique()<Obj>(tmp) 我该如何修复它,使其在 c++11 中可以正常工作?
std::make_unique()<Obj>(tmp)
c++ unique-ptr
c++ ×1
unique-ptr ×1