spot  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
spot::unique_ptr< T > Class Template Reference

Take ownership of a pointer at its construction, and destroy it at the end of the scope. More...

#include <misc/unique_ptr.hh>

Collaboration diagram for spot::unique_ptr< T >:
Collaboration graph

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)
 

Detailed Description

template<typename T>
class spot::unique_ptr< T >

Take ownership of a pointer at its construction, and destroy it at the end of the scope.


The documentation for this class was generated from the following file:

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Sat Dec 6 2014 12:28:44 for spot by doxygen 1.8.4