BloombergLP::bdlat_CustomizedTypeFunctions::convertFromBaseType

Convert from the specified value to the specified customized object.

Synopsis

Declared in <bdlat_customizedtypefunctions.h>

template<
    class TYPE,
    class BASE_TYPE>
int
convertFromBaseType(
    TYPE* object,
    BASE_TYPE const& value);

Return Value

0 if successful, and a non-zero value otherwise

Parameters

NameDescription
objectcustomized type to receive the converted value
valuebase-type value to convert from