Conditionally assign rhs to *lhs when allowed is false_type.
Declared in <bslma_allocatorutil.h>
template<class t_TYPE>
static
t_TYPE&
assign(
t_TYPE* lhs,
t_TYPE const& rhs,
bsl::false_type allowed);
Same as the preceding overload.
modifiable reference to *lhs
| Name | Description |
|---|---|
| lhs | address of the object to assign to |
| rhs | value compared for equality when assignment is disallowed |
| allowed | false_type tag indicating assignment is not permitted |