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

Name

Description

object

customized type to receive the converted value

value

base‐type value to convert from

Created with MrDocs