File tree Expand file tree Collapse file tree 5 files changed +2922
-125
lines changed Expand file tree Collapse file tree 5 files changed +2922
-125
lines changed Original file line number Diff line number Diff line change 6296
6296
constexpr operator bool() const noexcept;
6297
6297
constexpr reference& operator=(bool x) noexcept;
6298
6298
constexpr reference& operator=(const reference& x) noexcept;
6299
+ constexpr const reference& operator=(bool x) const noexcept;
6299
6300
constexpr void flip() noexcept; // flips the bit
6300
6301
};
6301
6302
Original file line number Diff line number Diff line change 1381
1381
1382
1382
\pnum
1383
1383
Expressions of integer-class type are
1384
- explicitly convertible to any integral type.
1384
+ explicitly convertible to any integral type as well as any integer-class type .
1385
1385
Expressions of integral type are
1386
1386
both implicitly and explicitly convertible to any integer-class type.
1387
- Conversions between integral and integer-class types
1387
+ Conversions between integral and integer-class types and
1388
+ between two integer-class types
1388
1389
do not exit via an exception.
1389
1390
1390
1391
\pnum
1434
1435
if it models \tcode {\libconcept {unsigned_integral}<I>} or
1435
1436
if it is an unsigned-integer-class type.
1436
1437
1438
+ \pnum
1439
+ For any two integer-like types \tcode {I1} and \tcode {I2},
1440
+ at least one of which is an integer-class type,
1441
+ \tcode {common_type_t<I1, I2>} denotes an integer-like type
1442
+ whose width is not less than that of \tcode {I1} or \tcode {I2}.
1443
+ If both \tcode {I1} and \tcode {I2} are signed-integer-like types,
1444
+ then \tcode {common_type_t<I1, I2>} is also a signed-integer-like type.
1445
+
1437
1446
\pnum
1438
1447
\tcode {\exposid {is-integer-like}<I>} is \tcode {true}
1439
1448
if and only if \tcode {I} is an integer-like type.
You can’t perform that action at this time.
0 commit comments