[#BloombergLP-bdlat_CustomizedTypeFunctions-convertFromBaseType]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_CustomizedTypeFunctions.adoc[bdlat&lowbar;CustomizedTypeFunctions]::convertFromBaseType
:relfileprefix: ../../
:mrdocs:

Convert from the specified `value` to the specified customized `object`&period; Return 0 if successful and non&hyphen;zero otherwise&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;customizedtypefunctions&period;h&gt;`

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


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