[#BloombergLP-bdlar-CustomizedTypeRef-convertFromBaseType]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/CustomizedTypeRef.adoc[CustomizedTypeRef]::convertFromBaseType
:relfileprefix: ../../../
:mrdocs:

Assign a value converted from the specified base `value`&period; Return 0 if successful and non&hyphen;zero otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;BASE&lowbar;TYPE&gt;
int
convertFromBaseType(t&lowbar;BASE&lowbar;TYPE const& value) const;
----


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