[#BloombergLP-bdlar-bdlat_customizedTypeConvertFromBaseType]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat&lowbar;customizedTypeConvertFromBaseType
:relfileprefix: ../../
:mrdocs:

Convert the specified `value` into the customized type referred to by the specified `ref`&period; Return 0 on success and a non&hyphen;zero value otherwise&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;customizedtypetraits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;BASE&lowbar;TYPE&gt;
int
bdlat&lowbar;customizedTypeConvertFromBaseType(
    xref:BloombergLP/bdlar/CustomizedTypeRef.adoc[CustomizedTypeRef]* ref,
    t&lowbar;BASE&lowbar;TYPE const& value);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
