Description
Marshals the source object to a new or existing object. Unlike the Get method, this method will always perform a copy of the source object, and will never attempt a move operation. As such, it is safe to call this method multiple times. Different template specializations provide different overloads of this method, however the differences and applicability of each overload are detailed in the usage section below. Note that this method is not available when using move-only types.
Usage (Copyable types only):
ContainerType GetWithoutMove() const
Return value
- [ContainerType]
- The newly constructed object populated with data marshalled from the source object.
Usage (Copyable and assignable types only):
void GetWithoutMove(ContainerType& targetObject) const
Argument list
- targetObject
- The target object to marshal the source data into.