mn::pointer::basic_shared_ptr< T, TRefType > Class Template Reference
#include <mn_shared_ptr.hpp>
Public Types | |
using | value_type = T |
using | element_type = T |
using | reference = T & |
using | const_value_type = const value_type |
using | pointer = value_type * |
using | ref_type = TRefType |
using | self_type = basic_shared_ptr< value_type, ref_type > |
Public Member Functions | |
basic_shared_ptr (pointer ptr) | |
basic_shared_ptr (const self_type &sp) | |
~basic_shared_ptr () | |
pointer | release () |
void | reset (pointer pValue=0) |
ref_type | ref () |
void | swap (self_type &b) |
pointer | get () const |
pointer | operator-> () const |
const_value_type & | operator* () |
operator bool () | |
self_type & | operator= (self_type &sp) |
Private Attributes | |
ref_type | m_ref |
pointer | m_ptr |
Member Typedef Documentation
◆ const_value_type
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::const_value_type = const value_type |
◆ element_type
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::element_type = T |
◆ pointer
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::pointer = value_type* |
◆ ref_type
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::ref_type = TRefType |
◆ reference
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::reference = T& |
◆ self_type
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::self_type = basic_shared_ptr<value_type, ref_type> |
◆ value_type
template<typename T , typename TRefType >
using mn::pointer::basic_shared_ptr< T, TRefType >::value_type = T |
Constructor & Destructor Documentation
◆ basic_shared_ptr() [1/2]
template<typename T , typename TRefType >
|
inlineexplicit |
◆ basic_shared_ptr() [2/2]
template<typename T , typename TRefType >
|
inline |
◆ ~basic_shared_ptr()
template<typename T , typename TRefType >
|
inline |
Member Function Documentation
◆ get()
template<typename T , typename TRefType >
|
inline |
◆ operator bool()
template<typename T , typename TRefType >
|
inline |
◆ operator*()
template<typename T , typename TRefType >
|
inline |
◆ operator->()
template<typename T , typename TRefType >
|
inline |
◆ operator=()
template<typename T , typename TRefType >
|
inline |
◆ ref()
template<typename T , typename TRefType >
|
inline |
◆ release()
template<typename T , typename TRefType >
|
inline |
◆ reset()
template<typename T , typename TRefType >
|
inline |
◆ swap()
template<typename T , typename TRefType >
|
inline |
Member Data Documentation
◆ m_ptr
template<typename T , typename TRefType >
|
private |
◆ m_ref
template<typename T , typename TRefType >
|
private |
The documentation for this class was generated from the following file: