BloombergLP::bdlat_ValueTypeFunctions::assign

Assign the value of the specified rhs to the object specified its address lhs.

Synopsis

Declared in <bdlat_valuetypefunctions.h>

template<
    class LHS_TYPE,
    class RHS_TYPE>
int
assign(
    LHS_TYPE* lhs,
    RHS_TYPE const& rhs);

Return Value

0 if successful, and a non-zero value otherwise

Parameters

NameDescription
lhsobject to receive the assigned value
rhsvalue to assign to *lhs