[#BloombergLP-bdlat_SymbolicConverter-convert-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SymbolicConverter.adoc[bdlat_SymbolicConverter]::convert :relfileprefix: ../../ :mrdocs: `convert` overloads == Synopses Declared in `<bdlat_symbolicconverter.h>` Convert the value of the specified `rhs` object to the specified (modifiable) `lhs` object. Optionally specify an `errorStream` to print error messages. Return 0 on success and a non‐zero value otherwise. The supported conversions are described in the `bdlat_symbolicconverter` component‐level documentation. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LHS_TYPE, class RHS_TYPE> static int xref:BloombergLP/bdlat_SymbolicConverter/convert-0f.adoc[convert]( LHS_TYPE* lhs, RHS_TYPE const& rhs); ---- [.small]#xref:BloombergLP/bdlat_SymbolicConverter/convert-0f.adoc[_» more..._]# Convert the value of the specified `rhs` object to the specified (modifiable) `lhs` object, writing diagnostics to the specified `errorStream`. Return 0 on success and a non‐zero value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LHS_TYPE, class RHS_TYPE> static int xref:BloombergLP/bdlat_SymbolicConverter/convert-0c.adoc[convert]( LHS_TYPE* lhs, RHS_TYPE const& rhs, std::ostream& errorStream); ---- [.small]#xref:BloombergLP/bdlat_SymbolicConverter/convert-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#