Scarab  2.8.1
Project 8 C++ Utility Library
Public Member Functions | Private Attributes | List of all members
shared_ptr_with_addressof_operator< T > Class Template Reference

Public Member Functions

 shared_ptr_with_addressof_operator ()=default
 
 shared_ptr_with_addressof_operator (T *p)
 
T * get () const
 
T ** operator & ()
 

Private Attributes

std::shared_ptr< T > impl
 

Detailed Description

template<typename T>
class shared_ptr_with_addressof_operator< T >

Definition at line 62 of file test_smart_ptr.cpp.

Constructor & Destructor Documentation

◆ shared_ptr_with_addressof_operator() [1/2]

◆ shared_ptr_with_addressof_operator() [2/2]

Definition at line 66 of file test_smart_ptr.cpp.

Member Function Documentation

◆ get()

T* get ( ) const
inline

Definition at line 67 of file test_smart_ptr.cpp.

◆ operator &()

T** operator& ( )
inline

Definition at line 68 of file test_smart_ptr.cpp.

Member Data Documentation

◆ impl

std::shared_ptr<T> impl
private

Definition at line 63 of file test_smart_ptr.cpp.


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