mn::pointer::basic_scoped_ptr< T > Class Template Reference
#include <mn_scoped_ptr.hpp>
Public Types | |
using | value_type = T |
using | element_type = T |
using | pointer = value_type * |
using | const_value_type = const value_type |
using | self_type = basic_scoped_ptr< value_type > |
Public Member Functions | |
basic_scoped_ptr (pointer pValue=0) | |
~basic_scoped_ptr () | |
void | swap (self_type &b) |
void | reset (pointer pValue=0) |
pointer | get () |
pointer | operator-> () |
value_type & | operator* () |
operator bool () | |
Private Attributes | |
pointer | m_pPointer |
Member Typedef Documentation
◆ const_value_type
template<typename T >
using mn::pointer::basic_scoped_ptr< T >::const_value_type = const value_type |
◆ element_type
template<typename T >
using mn::pointer::basic_scoped_ptr< T >::element_type = T |
◆ pointer
template<typename T >
using mn::pointer::basic_scoped_ptr< T >::pointer = value_type* |
◆ self_type
template<typename T >
using mn::pointer::basic_scoped_ptr< T >::self_type = basic_scoped_ptr<value_type> |
◆ value_type
template<typename T >
using mn::pointer::basic_scoped_ptr< T >::value_type = T |
Constructor & Destructor Documentation
◆ basic_scoped_ptr()
template<typename T >
|
inlineexplicit |
◆ ~basic_scoped_ptr()
template<typename T >
|
inline |
Member Function Documentation
◆ get()
template<typename T >
|
inline |
◆ operator bool()
template<typename T >
|
inline |
◆ operator*()
template<typename T >
|
inline |
◆ operator->()
template<typename T >
|
inline |
◆ reset()
template<typename T >
|
inline |
◆ swap()
template<typename T >
|
inline |
Member Data Documentation
◆ m_pPointer
template<typename T >
|
private |
The documentation for this class was generated from the following file: