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

Public Member Functions

 custom_unique_ptr (T *p)
 
T * get () const
 
T * release_ptr ()
 

Private Attributes

std::unique_ptr< T > impl
 

Detailed Description

template<typename T>
class custom_unique_ptr< T >

Definition at line 49 of file test_smart_ptr.cpp.

Constructor & Destructor Documentation

◆ custom_unique_ptr()

custom_unique_ptr ( T *  p)
inline

Definition at line 52 of file test_smart_ptr.cpp.

Member Function Documentation

◆ get()

T* get ( ) const
inline

Definition at line 53 of file test_smart_ptr.cpp.

◆ release_ptr()

T* release_ptr ( )
inline

Definition at line 54 of file test_smart_ptr.cpp.

Member Data Documentation

◆ impl

std::unique_ptr<T> impl
private

Definition at line 50 of file test_smart_ptr.cpp.


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