[#BloombergLP-bdlar-bdlat_customizedTypeConvertFromBaseType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat_customizedTypeConvertFromBaseType :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_BASE_TYPE> int bdlat_customizedTypeConvertFromBaseType( xref:BloombergLP/bdlar/CustomizedTypeRef.adoc[CustomizedTypeRef]* ref, t_BASE_TYPE const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#