Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么 C++17 类模板参数推导失败 std::unique_ptr(new int());
std::unique_ptr(new int());
编译器可以想象它是什么而不是std::unique_ptr<int>?
std::unique_ptr<int>