.
, , , ? IHMO, , , std::unique_ptr<>, , uptr<>, , ...
, , , , , ( , ). uptr<>, ...
Of course, you can use more descriptive names, for example unique_pointer(suggested in the comments), and use typedefs to implement this through std::unique_ptror, if it is not available, boost::unique_ptr(although if you haven't, std::unique_ptrI would think that you also don't have the semantics of movement and therefore, the whole point is lost unique_pointer). But it will not help , you shorten the input.
source
share