|
Honeycomb
0.1
Component-Model Framework
|
Wraps a pointer so that it behaves similar to a reference. More...
#include <StdUtil.h>
Public Member Functions | |
| deref_wrap (Ptr ptr=nullptr) | |
| T & | operator* () |
| const T & | operator* () const |
| T * | operator-> () |
| const T * | operator-> () const |
| operator T & () | |
| operator const T & () const | |
| bool | operator== (const deref_wrap &rhs) const |
| bool | operator!= (const deref_wrap &rhs) const |
| Ptr & | ptr () |
| const ConstPtr & | ptr () const |
Wraps a pointer so that it behaves similar to a reference.
In a std container, this wrapper type can be used instead of an object pointer so that the constness of the container carries through to its objects.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.10