Convert the value of the specified rhs to the specified lhs.
Synopsis
Declared in <bdlat_symbolicconverter.h>
template<
class LHS_TYPE,
class RHS_TYPE>
static
int
convert(
LHS_TYPE* lhs,
RHS_TYPE const& rhs,
std::ostream& errorStream);
Description
Write diagnostics to the specified errorStream. Return 0 on success and a non‐zero value otherwise.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
lhs |
destination object to receive the converted value |
rhs |
source object to convert from |
errorStream |
stream for diagnostic messages |
Created with MrDocs