Namespace for utility functions that operate on scalar TARGET_TYPE elements.
Declared in <bslalg_scalarprimitives.h>
struct ScalarPrimitives;
This struct provides a namespace for a suite of utility functions that operate on elements of a parameterized type TARGET_TYPE. If any of the ...Construct methods throws, then its target address is left uninitialized and there are no effects, unless otherwise mentioned in the documentation.
| Name | Description |
|---|---|
construct | construct overloads |
copyConstruct | copyConstruct overloads |
defaultConstruct | defaultConstruct overloads |
destruct | Destroy the specified object without deallocating its storage. |
destructiveMove | Destructively move a TARGET_TYPE from original to address. |
moveConstruct | moveConstruct overloads |
swap | Exchange the contents of the specified lhs and rhs. |