...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
The value and all of its contents are destroyed. Any dynamically allocated memory that was allocated internally is freed.
Constant, or linear in size for array or object.