Destroy the specified object without deallocating its storage.
Declared in <bslalg_scalarprimitives.h>
Destroy the specified object without deallocating its storage.
template<class TARGET_TYPE>
static
void
destruct(TARGET_TYPE* object);
» more...
Destroy the specified object without deallocating its storage.
template<class TARGET_TYPE>
static
void
destruct(
TARGET_TYPE* object,
void* allocator);
» more...
| Name | Description |
|---|---|
| object | object to destroy |
| allocator | unused allocator argument |