BloombergLP::bslalg::ScalarPrimitives::destruct

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);
» more...

Destroy the specified object without deallocating its storage.

template<class TARGET_TYPE>
static
void
destruct(
    TARGET_TYPE* object,
    void* allocator);
» more...

Parameters

NameDescription
objectobject to destroy
allocatorunused allocator argument