Create a base‐type value, apply baseManipulator, then convert it.

Synopsis

Declared in <bdlar_customizedtypetraits.h>

template<class t_MANIPULATOR>
int
bdlat_customizedTypeCreateBaseAndConvert(
    CustomizedTypeRef* ref,
    t_MANIPULATOR& baseManipulator);

Description

Create an uninitialized value of the base type, apply the specified baseManipulator to it, then convert the result into the customized type referred to by the specified ref. Return 0 on success and a non‐zero value otherwise.

Return Value

0 on success and a non‐zero value otherwise

Parameters

Name

Description

ref

customized‐type reference to receive the converted value

baseManipulator

manipulator to apply to the base value

Created with MrDocs