Title
forward_list::erase_after should not be allowed to throw
Status
c++11
Section
[container.requirements]
Submitter
DIN

Created on 2010-08-25.00:00:00 last changed 161 months ago

Messages

Date: 2010-11-18.17:46:58

Proposed resolution:

Add a "Throws: Nothing" clause to both erase_after overloads in 23.3.3.4, [forwardlist.modifiers].

Date: 2010-10-24.03:04:13

[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]

Date: 2010-10-24.03:04:13

Addresses DE-21

23.2.1/11 provides a general no-throw guarantee for erase() container functions, exceptions from this are explicitly mentioned for individual containers. Because of its different name, forward_list's erase_after() function is not ruled by this but should so.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-11-18 17:46:58adminsetmessages: + msg5394
2010-11-18 17:46:58adminsetstatus: nad editorial -> wp
2010-10-24 03:04:13adminsetmessages: + msg4913
2010-08-25 00:00:00admincreate