#include <datatypebase.h>
ForwardingDataPtr contains type info and a pointer to an arbitrary generic object plus the information if the object shall be moved or not. ForwardingDataPtr is typically used as parameter type of a generic function which accepts any type of object and moves or copies the object to some other location.
Public Member Functions | |
| ForwardingDataPtr () | |
| MAXON_IMPLICIT | ForwardingDataPtr (const ConstDataPtr &ptr) | 
| MAXON_IMPLICIT | ForwardingDataPtr (MoveDataPtr &&ptr) | 
| Result< Data > | GetData () | 
Public Attributes | |
| ConstDataPtr | data | 
| Bool | move | 
| MAXON_IMPLICIT ForwardingDataPtr | ( | const ConstDataPtr & | ptr | ) | 
| MAXON_IMPLICIT ForwardingDataPtr | ( | MoveDataPtr && | ptr | ) | 
| ConstDataPtr data | 
| Bool move |