Clear a vector (or std::deque) and release its allocated memory.

Synopsis

Declared in <util/vector.h>

template<typename V>
void
ClearShrink(V& v) noexcept;

Parameters

Name

Description

v

The container to clear and free.

Created with MrDocs