Why C++17 class template argument deduction failed for
std::unique_ptr(new int());
What could the compiler imagine it to be rather than std::unique_ptr<int>
?
Why C++17 class template argument deduction failed for
std::unique_ptr(new int());
What could the compiler imagine it to be rather than std::unique_ptr<int>
?