A wrapper around a raw ptr that adds additional unopt mode only checks. More...
#include <raw_ptr.h>
Public Member Functions | |
raw_ptr (const std::shared_ptr< T > &ptr) | |
raw_ptr () | |
T * | operator-> () |
const T * | operator-> () const |
T * | get () |
T & | operator* () |
const T & | operator* () const |
template<class U > | |
bool | operator== (raw_ptr< U > const &other) const |
template<class U > | |
bool | operator!= (raw_ptr< U > const &other) const |
operator bool () const | |
A wrapper around a raw ptr that adds additional unopt mode only checks.
|
inlineexplicit |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |