这段代码是否正确?
auto v = make_unique<int>(12); v.release(); // is this possible?
它等同于delete原始指针吗?
delete
c++ unique-ptr
c++ ×1
unique-ptr ×1