When you have class template argument deduction available from C++17, why can\'t you deduce the template arguments of std::unique_ptr? For example, this gives me an error:>
Lets look at new int and new int[10]. Both of those return an int*. There is no way to tell if you should have unique_ptr or unique_ptr. That right there is enough not to provide any sort of deduction guide.