Section: 22.4.4.2 [tuple.cnstr] Status: New Submitter: Jonathan Wakely Opened: 2021-08-23 Last modified: 2021-09-20
Priority: 3
View other active issues in [tuple.cnstr].
View all other issues in [tuple.cnstr].
View all issues with New status.
Discussion:
We do not specify whether or not short-circuiting is expected to happen for individual conditions stated in a Constraints: element. For example, 22.4.4.2 [tuple.cnstr] p12 says:
Constraints:
sizeof...(Types)
equalssizeof...(UTypes)
andsizeof...(Types) ≤ 1
andis_constructible_v<Ti , Ui>
istrue
for alli
.
It's not even possible to test the is_constructible
part unless the first part is true, so presumably it is
expected that the sizeof...
expressions are tested first, and so the is_constructible
traits don't
even need to be instantiated.
[2021-09-20; Reflector poll]
Set priority to 3 after reflector poll.
Proposed resolution: