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

Name

Description

lhs

object to receive the assigned value

rhs

value to assign to *lhs

Created with MrDocs