|
Honeycomb
0.1
Component-Model Framework
|
Allows for recursive type definitions, eg. class Object : vector<recursive_wrap<Object>>.
More...
#include <StdUtil.h>
Public Member Functions | |
| recursive_wrap (Alloc a=Alloc()) | |
| template<class T_ > | |
| recursive_wrap (T_ &&t, Alloc a=Alloc()) | |
| recursive_wrap (const recursive_wrap &rhs) | |
| recursive_wrap (recursive_wrap &rhs) | |
| recursive_wrap (recursive_wrap &&rhs) | |
| template<class T_ > | |
| recursive_wrap & | operator= (T_ &&t) |
| recursive_wrap & | operator= (const recursive_wrap &rhs) |
| recursive_wrap & | operator= (recursive_wrap &rhs) |
| recursive_wrap & | operator= (recursive_wrap &&rhs) |
| T & | operator* () |
| Get the wrapped object. More... | |
| const T & | operator* () const |
| T * | operator-> () |
| const T * | operator-> () const |
| operator T & () | |
| operator const T & () const | |
| T * | ptr () |
| Get the internal pointer, may be null if wrapper was moved. More... | |
| const T * | ptr () const |
Allows for recursive type definitions, eg. class Object : vector<recursive_wrap<Object>>.
This wrapper dynamically allocates the object and stores a pointer internally. The wrapper interface provides value semantics to the dynamic object.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the wrapped object.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the internal pointer, may be null if wrapper was moved.
|
inline |
1.8.10