This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++14 status.
Section: 22.2.1 [container.requirements.general] Status: C++14 Submitter: Jonathan Wakely Opened: 2013-09-26 Last modified: 2017-07-05
View other active issues in [container.requirements.general].
View all other issues in [container.requirements.general].
View all issues with C++14 status.
It has been suggested that Table 96 — "Container requirements" makes confusing requirements for the destructor of std::array:"note: the destructor is applied to every element of a; all the memory is deallocated." Since std::array obtains no memory, there is none to deallocate, arguably making it unclear what the requirement means for std::array::~array().
[Issaquah 2014-02-11: Move to Immediate]
This wording is relative to N3691.
Change in 22.2.1 [container.requirements.general], Table 96 — "Container requirements", the "Assertion/note/pre-/post-condition" for the expression "(&a)->~X()" as indicated:
note: the destructor is applied to every element of a;
all thememory is deallocated.