BloombergLP::bslalg::ArrayDestructionPrimitives

This struct provides a namespace for a suite of utility functions that destroy arrays of elements of the parameterized type TARGET_TYPE. Depending on the traits of TARGET_TYPE, the destructor may be invoked, or not (optimized away by no-op).

Synopsis

Declared in <bslalg_arraydestructionprimitives.h>

struct ArrayDestructionPrimitives;

Static Member Functions

NameDescription
destroy destroy overloads
scribbleOverMemory Overwrite the specified numBytes of memory starting at the specified ptr.