|
Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
Pointer that overloads operator -> More...
#include <smartptr.h>
Inheritance diagram for member_ptr< T >:Public Member Functions | |
| member_ptr (T *p=NULL) | |
| const T & | operator* () const |
| T & | operator* () |
| const T * | operator-> () const |
| T * | operator-> () |
| const T * | get () const |
| T * | get () |
| T * | release () |
| void | reset (T *p=NULL) |
Pointer that overloads operator ->
| T | class or type |
member_ptr is used frequently in the library to avoid the issues related to std::auto_ptr in C++11 (deprecated) and std::unique_ptr in C++03 (non-existent).
Definition at line 37 of file smartptr.h.
|
inlineexplicit |
Definition at line 40 of file smartptr.h.
| member_ptr< T >::~member_ptr | ( | ) |
Definition at line 69 of file smartptr.h.
|
inline |
Definition at line 44 of file smartptr.h.
|
inline |
Definition at line 45 of file smartptr.h.
|
inline |
Definition at line 47 of file smartptr.h.
|
inline |
Definition at line 48 of file smartptr.h.
|
inline |
Definition at line 50 of file smartptr.h.
|
inline |
Definition at line 51 of file smartptr.h.
|
inline |
Definition at line 53 of file smartptr.h.
| void member_ptr< T >::reset | ( | T * | p = NULL | ) |
Definition at line 70 of file smartptr.h.