Is there any reason to choose
int pInt = std::unique_ptr<int>(new int);
vs
int pInt = std::make_unique<int>()
other than avoiding specifying the type twice?
Is there any reason to choose
int pInt = std::unique_ptr<int>(new int);
vs
int pInt = std::make_unique<int>()
other than avoiding specifying the type twice?