The whole point of
std::make_unique
is to encapsulate the notion of "usenew
to create aT
from given constructor arguments and usedelete
to destroy it"
[via @kerrek-sb]
The whole point of
std::make_unique
is to encapsulate the notion of "usenew
to create aT
from given constructor arguments and usedelete
to destroy it"
[via @kerrek-sb]