Scarab  v2.9.0
Project 8 C++ Utility Library
Public Member Functions | Private Attributes | List of all members
unique_ptr_with_addressof_operator< T > Class Template Reference

Public Member Functions

 unique_ptr_with_addressof_operator ()=default
 
 unique_ptr_with_addressof_operator (T *p)
 
T * get () const
 
T * release_ptr ()
 
T ** operator & ()
 

Private Attributes

std::unique_ptr< T > impl
 

Detailed Description

template<typename T>
class unique_ptr_with_addressof_operator< T >

Definition at line 76 of file test_smart_ptr.cpp.

Constructor & Destructor Documentation

◆ unique_ptr_with_addressof_operator() [1/2]

◆ unique_ptr_with_addressof_operator() [2/2]

Definition at line 80 of file test_smart_ptr.cpp.

Member Function Documentation

◆ get()

T* get ( ) const
inline

Definition at line 81 of file test_smart_ptr.cpp.

◆ operator &()

T** operator& ( )
inline

Definition at line 83 of file test_smart_ptr.cpp.

◆ release_ptr()

T* release_ptr ( )
inline

Definition at line 82 of file test_smart_ptr.cpp.

Member Data Documentation

◆ impl

std::unique_ptr<T> impl
private

Definition at line 77 of file test_smart_ptr.cpp.


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