Create a base value, manipulate it, and convert it into object.
Synopsis
Declared in <bdlat_customizedtypefunctions.h>
template<
class t_TYPE,
class t_MANIPULATOR>
int
createBaseAndConvert(
t_TYPE* object,
t_MANIPULATOR& baseManipulator);
Description
Create an uninitialized value of the base type, apply the specified baseManipulator to it, then call the bdlat_CustomizedTypeFunctions::convertFromBaseType function with the specified object and the value.
Return Value
0 if successful, and a non‐zero value otherwise
Parameters
Name |
Description |
object |
customized type to receive the converted value |
baseManipulator |
functor applied to an uninitialized base‐type value |
Created with MrDocs