Assign the value of the specified rhs to the object specified its address lhs. Return 0 if successful, and a non‐zero value otherwise.

Synopsis

Declared in <bdlat_valuetypefunctions.h>

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

Created with MrDocs