ForwardingDataPtr Struct Reference

#include <datatypebase.h>

Detailed Description

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< DataGetData ()
 

Public Attributes

ConstDataPtr data
 
Bool move
 

Constructor & Destructor Documentation

◆ ForwardingDataPtr() [1/3]

◆ ForwardingDataPtr() [2/3]

◆ ForwardingDataPtr() [3/3]

Member Function Documentation

◆ GetData()

Result<Data> GetData ( void  )

Member Data Documentation

◆ data

◆ move

Bool move