Documentation of memory

( foonathan/memory)

unique_ptr< T, RawAllocator > Class Template Reference

Detailed Description

template<typename T, class RawAllocator>
class foonathan::memory::unique_ptr< T, RawAllocator >

A std::unique_ptr that deletes using a RawAllocator.

It is an alias template using allocator_deleter as Deleter class.

Member Functions

T * operator-> ()
 STL member. More...
 

Member Functions

§ operator->()

T* operator-> ( )
inherited

STL member.