spot
1.0.1
|
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) | |
~unique_ptr () | |
operator pointer () | |
pointer | operator-> () |
Private Types | |
typedef T * | pointer |
Private Member Functions | |
unique_ptr (const unique_ptr &up) | |
unique_ptr & | operator= (const unique_ptr &) |
Private Attributes | |
pointer | ptr_ |
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.
|
private |
|
inline |
|
inline |
References spot::unique_ptr< T >::ptr_.
|
inlineprivate |
References spot::unique_ptr< T >::ptr_.
|
inline |
References spot::unique_ptr< T >::ptr_.
|
inline |
References spot::unique_ptr< T >::ptr_.
|
private |
|
private |