BloombergLP::bdlar::bdlat_customizedTypeConvertFromBaseType

Convert the specified value into the customized type referred to by the specified ref. Return 0 on success and a non-zero value otherwise.

Synopsis

Declared in <bdlar_customizedtypetraits.h>

template<class t_BASE_TYPE>
int
bdlat_customizedTypeConvertFromBaseType(
    CustomizedTypeRef* ref,
    t_BASE_TYPE const& value);