Set the copy/move state of the object at obj_p to state.
Declared in <bsltf_copymovestate.h>
template<class TYPE>
static
void
set(
TYPE* obj_p,
Enum state);
For the specified obj_p address and specified state, invoke setCopyMoveState(obj_p, state). Note that setCopyMoveState is an ADL customization point; if not customized for a specific TYPE, a no-op default implementation is invoked.
| Name | Description |
|---|---|
| obj_p | address of the object whose copy/move state is set |
| state | copy/move state to record |