prevector::allocated_memory

Returns the number of bytes held in the heap allocation, or zero when stored inline.

Synopsis

Declared in <prevector.h>

size_t
allocated_memory() const;

Return Value

The number of bytes held in the heap allocation, or zero when stored inline.