This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
tuple
construction should not fail unless its element's construction failsSection: 22.4.4.2 [tuple.cnstr] Status: CD1 Submitter: Howard Hinnant Opened: 2008-03-13 Last modified: 2016-01-28
Priority: Not Prioritized
View other active issues in [tuple.cnstr].
View all other issues in [tuple.cnstr].
View all issues with CD1 status.
Discussion:
527(i) Added a throws clause to bind
constructors. I believe the same throws clause
should be added to tuple
except it ought to take into account move constructors as well.
Proposed resolution:
Add to 22.4.4.2 [tuple.cnstr]:
For each
tuple
constructor and assignment operator, an exception is thrown only if the construction or assignment of one of the types inTypes
throws an exception.