Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofC++11 status.

1416.forward_list::erase_after should not be allowed to throw

Section: 23.2[container.requirements]Status:C++11Submitter: DINOpened: 2010-08-25Last modified: 2016-01-28

Priority:Not Prioritized

View all otherissues in [container.requirements].

View all issues withC++11 status.

Discussion:

Addresses DE-21

23.2.1/11 provides a general no-throw guarantee forerase() container functions, exceptions from this areexplicitly mentioned for individual containers. Because ofits different name, forward_list's erase_after() function isnot ruled by this but should so.

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

Proposed resolution:

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


[8]ページ先頭

©2009-2026 Movatter.jp