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);
Return Value
0 on success and a non‐zero value otherwise
Parameters
Name |
Description |
ref |
customized‐type reference to receive the converted value |
value |
base‐type value to convert from |
Created with MrDocs