Quick Links:

bal | bbl | bdl | bsl

Functions

bdlat_ValueTypeFunctions Namespace Reference
[Component bdlat_valuetypefunctions]

Functions

template<class LHS_TYPE , class RHS_TYPE >
int assign (LHS_TYPE *lhs, const RHS_TYPE &rhs)
template<class TYPE >
void reset (TYPE *object)
template<class LHS_TYPE , class RHS_TYPE >
int bdlat_valueTypeAssign (LHS_TYPE *lhs, const RHS_TYPE &rhs)
template<class TYPE >
void bdlat_valueTypeReset (TYPE *object)

Function Documentation

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

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

Referenced by bsl::basic_string< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR >::basic_string().

template<class TYPE >
void bdlat_ValueTypeFunctions::reset ( TYPE *  object  ) 

Reset the value of the specified object to its default value.

template<class LHS_TYPE , class RHS_TYPE >
int bdlat_ValueTypeFunctions::bdlat_valueTypeAssign ( LHS_TYPE *  lhs,
const RHS_TYPE &  rhs 
)
template<class TYPE >
void bdlat_ValueTypeFunctions::bdlat_valueTypeReset ( TYPE *  object  )