[#BloombergLP-bdlar-SymbolicConverter-convert-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SymbolicConverter.adoc[SymbolicConverter]::convert :relfileprefix: ../../../ :mrdocs: `convert` overloads == Synopses Declared in `<bdlar_symbolicconverter.h>` Convert the value of the specified `rhs` type‐erased object to the specified (modifiable) `lhs` type‐erased object. Return 0 on success and a non‐zero value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlar/SymbolicConverter/convert-04.adoc[convert]( xref:BloombergLP/bdlar/AnyRef.adoc[AnyRef] lhs, xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef] rhs); ---- [.small]#xref:BloombergLP/bdlar/SymbolicConverter/convert-04.adoc[_» more..._]# Convert the value of the specified `rhs` object to the specified (modifiable) `lhs` object. 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/bdlar/SymbolicConverter/convert-0e.adoc[convert]( LHS_TYPE* lhs, RHS_TYPE const& rhs); ---- [.small]#xref:BloombergLP/bdlar/SymbolicConverter/convert-0e.adoc[_» more..._]# Convert the value of the specified `rhs` type‐erased object to the specified (modifiable) `lhs` type‐erased object. Write diagnostic messages to the specified `errorStream` on failure. Return 0 on success and a non‐zero value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlar/SymbolicConverter/convert-03.adoc[convert]( xref:BloombergLP/bdlar/AnyRef.adoc[AnyRef] lhs, xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef] rhs, std::ostream& errorStream); ---- [.small]#xref:BloombergLP/bdlar/SymbolicConverter/convert-03.adoc[_» more..._]# 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/bdlar/SymbolicConverter/convert-08.adoc[convert]( LHS_TYPE* lhs, RHS_TYPE const& rhs, std::ostream& errorStream); ---- [.small]#xref:BloombergLP/bdlar/SymbolicConverter/convert-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#