array::~array

Destructor.

Synopsis

~array();

Description

The destructor for each element is called if needed, any used memory is deallocated, and shared ownership of the boost::container::pmr::memory_resource is released.

Complexity

Linear in size().

Exception Safety

No-throw guarantee.