Почему в C ++ 11 есть `make_shared`, а не` make_unique` [duplicate]
Possible Duplicate:
make_unique and perfect forwarding
Почему C ++ 11 имеетmake_shared
шаблон, но неmake_unique
шаблон?
Это делает код очень противоречивым.
auto x = make_shared<string>("abc");
auto y = unique_ptr<string>(new string("abc"));