BloombergLP::bslalg::ScalarPrimitives

Namespace for utility functions that operate on scalar TARGET_TYPE elements.

Synopsis

Declared in <bslalg_scalarprimitives.h>

struct ScalarPrimitives;

Description

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.

Static Member Functions

NameDescription
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.