#include <maybe_ref.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
maybe_ref () | |
maybe_ref (T &t) | |
bool | isValid () const |
operator bool () const | |
void | reseat () |
void | reseat (T &p) |
T & | ref () |
T const & | ref () const |
void | swap (maybe_ref &other) |
Private Member Functions | |
T & | ref_iff_valid () const |
Private Attributes | |
T * | ptr_ |
Definition at line 35 of file maybe_ref.h.
typedef T cet::maybe_ref< T >::value_type |
Definition at line 52 of file maybe_ref.h.
|
inline |
Definition at line 54 of file maybe_ref.h.
|
inlineexplicit |
Definition at line 55 of file maybe_ref.h.
|
inline |
Definition at line 60 of file maybe_ref.h.
|
inlineexplicit |
Definition at line 64 of file maybe_ref.h.
|
inline |
Definition at line 78 of file maybe_ref.h.
|
inline |
Definition at line 83 of file maybe_ref.h.
|
inlineprivate |
Definition at line 98 of file maybe_ref.h.
|
inline |
Definition at line 67 of file maybe_ref.h.
|
inline |
Definition at line 72 of file maybe_ref.h.
|
inline |
Definition at line 89 of file maybe_ref.h.
|
private |
Definition at line 95 of file maybe_ref.h.