This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of WP status.
Section: 22.4.4.1 [tuple.cnstr] Status: WP Submitter: Louis Dionne Opened: 2019-05-29 Last modified: 2020-11-09
Priority: 3
View other active issues in [tuple.cnstr].
View all other issues in [tuple.cnstr].
View all issues with WP status.
Discussion:
That requirement is really easy to enforce, and it has been requested by users (e.g. libc++ bug 41714).
Previous resolution [SUPERSEDED]:This wording is relative to N4810.
Modify 22.4.4.1 [tuple.cnstr] as indicated:
-4- If is_trivially_destructible_v<Ti> is true for all Ti, then the destructor of tuple is trivial. The default constructor of tuple<> is trivial.
[2020-02-13, Prague]
LWG discussion revealed that all where happy that we want this, except that the new wording should become a separate paragraph.
[2020-11-09 Approved In November virtual meeting. Status changed: Ready → WP.]
Proposed resolution:
This wording is relative to N4849.
Modify 22.4.4.1 [tuple.cnstr] as indicated:
-4- If is_trivially_destructible_v<Ti> is true for all Ti, then the destructor of tuple is trivial.
-?- The default constructor of tuple<> is trivial.