Create a base-type value, apply baseManipulator, then convert it.
Declared in <bdlar_customizedtypetraits.h>
template<class t_MANIPULATOR>
int
bdlat_customizedTypeCreateBaseAndConvert(
CustomizedTypeRef* ref,
t_MANIPULATOR& baseManipulator);
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.
0 on success and a non-zero value otherwise
| Name | Description |
|---|---|
| ref | customized-type reference to receive the converted value |
| baseManipulator | manipulator to apply to the base value |