BloombergLP::bdlar::CustomizedTypeRef::createBaseAndConvert

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

Synopsis

Declared in <bdlar_customizedtyperef.h>

template<class t_MANIPULATOR>
int
createBaseAndConvert(t_MANIPULATOR& baseManipulator) const;

Description

Create an uninitialized value of the base type, apply the specified baseManipulator to it, then call the bdlat_CustomizedTypeFunctions::convertFromBaseType function with this object and the value.

Return Value

0 on success and non-zero otherwise

Parameters

NameDescription
baseManipulatormanipulator to apply to the base value