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