| 
    cxxomfort
    rel.20210622
    
   Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/ 
   | 
 
unique_ptr: a scoped, movable smart pointer. Emulation of the unique_ptr implementation in C++11 for C++03 compilers. Original backport by Howard Hinnant. More...
Public Member Functions | |
| unique_ptr () CXXO_NOEXCEPTNOTHROW | |
| Creates from a rvalue-wrapper (from eg.: move ).  More... | |
| unique_ptr (pointer p) | |
Creates a unique_ptr wrapping the allocated pointer p .  | |
| cxxomfort::traits::add_reference< T >::type | operator* () const | 
| Provide access to member.  | |
| pointer | operator-> () const | 
| Provides access to member.  | |
| pointer | get () const | 
| Provides access to member.  | |
| deleter_reference | get_deleter () | 
| Provides access to deleter.  | |
| void | reset (pointer p=pointer()) | 
Resets / reassigns the unique_ptr to another allocated pointer.  | |
| operator detail_unique_ptr::rv< unique_ptr > () | |
Converts unique_ptr to its rvalue-wrapper (for eg.: move ).  | |
| unique_ptr (CXXO_RV_REF(unique_ptr) r) | |
| Creates from a rvalue-wrapper (from eg.: move ).  | |
| CXXO_CONSTEXPR | unique_ptr () CXXO_NOEXCEPTNOTHROW | 
| Default constructor.  | |
| unique_ptr (pointer p) | |
Creates a unique_ptr wrapping the allocated pointer p .  | |
| unique_ptr (pointer p, typename std::conditional< cxxomfort::traits::is_reference< D >::value, volatile typename cxxomfort::traits::remove_reference< D >::type &, D >::type d) | |
Creates a unique_ptr given a pointer and a deleter, which is stored unreferenced.  | |
| template<class U , class E > | |
| unique_ptr (unique_ptr< U, E > u, typename std::enable_if< !cxxomfort::traits::is_array< U >::value &&detail_unique_ptr::is_convertible< typename unique_ptr< U >::pointer, pointer >::value &&detail_unique_ptr::is_convertible< E, deleter_type >::value &&(!cxxomfort::traits::is_reference< deleter_type >::value||cxxomfort::traits::is_same< deleter_type, E >::value), void >::type *=0) | |
Creates a unique_ptr from a convertible pointer and deleter.  | |
| unique_ptr & | operator= (std::nullptr_t) | 
reset a unique_ptr by assigning null pointer literal  | |
| template<class U , class E > | |
| unique_ptr & | operator= (unique_ptr< U, E > u) | 
| Assignment (moves resource to this object).  | |
| cxxomfort::traits::add_reference< T >::type | operator* () const | 
| Provide access to member.  | |
| pointer | operator-> () const | 
| Provides access to member.  | |
| pointer | get () const | 
| Provides access to member.  | |
| deleter_reference | get_deleter () | 
| Provides access to deleter.  | |
| void | reset (pointer p=pointer()) | 
Resets / reassigns the unique_ptr to another allocated pointer.  | |
| pointer | release () | 
| Returns the owned pointer and releases its ownership.  | |
| void | swap (unique_ptr &u) | 
| Swap.  | |
unique_ptr: a scoped, movable smart pointer. Emulation of the unique_ptr implementation in C++11 for C++03 compilers. Original backport by Howard Hinnant.
      
  | 
  inline | 
Creates from a rvalue-wrapper (from eg.: move ).
Default constructor.
 1.8.13