Skip to content

Commit c53ef26

Browse files
committed
P2321R2 zip
- Fix incorrect template-heads for tuple constructors taking a pair. - Rephrased "expression within noexcept" to "exception specification".
1 parent 2360a59 commit c53ef26

File tree

5 files changed

+2922
-125
lines changed

5 files changed

+2922
-125
lines changed

source/containers.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6233,6 +6233,7 @@
62336233
constexpr operator bool() const noexcept;
62346234
constexpr reference& operator=(bool x) noexcept;
62356235
constexpr reference& operator=(const reference& x) noexcept;
6236+
constexpr const reference& operator=(bool x) const noexcept;
62366237
constexpr void flip() noexcept; // flips the bit
62376238
};
62386239

source/iterators.tex

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,10 +1378,11 @@
13781378

13791379
\pnum
13801380
Expressions of integer-class type are
1381-
explicitly convertible to any integral type.
1381+
explicitly convertible to any integral type as well as any integer-class type.
13821382
Expressions of integral type are
13831383
both implicitly and explicitly convertible to any integer-class type.
1384-
Conversions between integral and integer-class types
1384+
Conversions between integral and integer-class types and
1385+
between two integer-class types
13851386
do not exit via an exception.
13861387

13871388
\pnum
@@ -1431,6 +1432,14 @@
14311432
if it models \tcode{\libconcept{unsigned_integral}<I>} or
14321433
if it is an unsigned-integer-class type.
14331434

1435+
\pnum
1436+
For any two integer-like types \tcode{I1} and \tcode{I2},
1437+
at least one of which is an integer-class type,
1438+
\tcode{common_type_t<I1, I2>} denotes an integer-like type
1439+
whose width is not less than that of \tcode{I1} or \tcode{I2}.
1440+
If both \tcode{I1} and \tcode{I2} are signed-integer-like types,
1441+
then \tcode{common_type_t<I1, I2>} is also a signed-integer-like type.
1442+
14341443
\pnum
14351444
\tcode{\exposid{is-integer-like}<I>} is \tcode{true}
14361445
if and only if \tcode{I} is an integer-like type.

0 commit comments

Comments
 (0)