|
spot
1.2.6
|
Take ownership of a pointer at its construction, and destroy it at the end of the scope. More...
#include <misc/unique_ptr.hh>

Public Member Functions | |
| unique_ptr (pointer ptr) | |
| operator pointer () | |
| pointer | operator-> () |
| const_pointer | operator-> () const |
Friends | |
| template<typename V > | |
| unique_ptr< V > | make_unique (V *ptr) |
Take ownership of a pointer at its construction, and destroy it at the end of the scope.
1.8.4