Utility functions that destroy elements of parameterized type TYPE.
Declared in <bslma_destructionutil.h>
struct DestructionUtil;
This struct provides a namespace for a suite of utility functions that destroy elements of the parameterized type TYPE. Depending on the traits of TYPE, the destructor may be invoked or not (i.e., optimized away as a no-op).
| Name | Description |
|---|---|
destroy | Destroy the specified object without deallocating its memory. |