Created on 2013-09-26.00:00:00 last changed 130 months ago
Proposed resolution:
This wording is relative to N3691.
Change in [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 theany memory obtained is deallocated.
[ Issaquah 2014-02-11: Move to Immediate ]
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().History | |||
---|---|---|---|
Date | User | Action | Args |
2014-02-27 17:03:20 | admin | set | status: wp -> c++14 |
2014-02-20 13:52:38 | admin | set | status: immediate -> wp |
2014-02-13 15:14:54 | admin | set | messages: + msg6841 |
2014-02-13 15:14:54 | admin | set | status: new -> immediate |
2013-10-08 21:34:31 | admin | set | messages: + msg6685 |
2013-09-26 00:00:00 | admin | create |