cartobase
5.0.5
|
Wrapper to a reference. More...
#include <cartobase/smart/refwrapper.h>
Public Types | |
typedef T | type |
Public Member Functions | |
reference_wrapper (type &ref) | |
reference_wrapper (const reference_wrapper< type > &x) | |
~reference_wrapper () | |
reference_wrapper< type > & | operator= (const reference_wrapper< type > &x) |
type & | get () const |
operator type & () const | |
Protected Attributes | |
type * | _object |
Wrapper to a reference.
For now, it can only be used with objects (and not functions)
Definition at line 43 of file refwrapper.h.
typedef T carto::reference_wrapper< T >::type |
Definition at line 46 of file refwrapper.h.
|
inline |
Definition at line 47 of file refwrapper.h.
|
inline |
Definition at line 49 of file refwrapper.h.
|
inline |
Definition at line 51 of file refwrapper.h.
|
inline |
Definition at line 60 of file refwrapper.h.
References carto::reference_wrapper< T >::_object.
|
inline |
Definition at line 61 of file refwrapper.h.
|
inline |
Definition at line 53 of file refwrapper.h.
References carto::reference_wrapper< T >::_object.
|
protected |
Definition at line 63 of file refwrapper.h.
Referenced by carto::reference_wrapper< T >::get(), and carto::reference_wrapper< T >::operator=().