Namespace for utility functions that destroy arrays of TARGET_TYPE.

Synopsis

Declared in <bslalg_arraydestructionprimitives.h>

struct ArrayDestructionPrimitives;

Description

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

Static Member Functions

Name

Description

destroy

destroy overloads

scribbleOverMemory

Overwrite the specified numBytes of memory starting at the specified ptr.

Created with MrDocs