Skip to content

Commit 62c853b

Browse files
committed
[expected.object.cons] Reorder arguemnts of is_same_v for consistency
During the discussion of LWG 4222 it was noticed that [expected.object.cons] bullet (23.2) uses an atypical order of the is_same_v arguments, especially since this issue adds another bullet. To enforce consistency, the `remove_cvref_t<U>` argument is no also used as first (instead of second) argument in that bullet.
1 parent 93d8f00 commit 62c853b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/utilities.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7789,7 +7789,7 @@
77897789
\item
77907790
\tcode{is_same_v<remove_cvref_t<U>, in_place_t>} is \tcode{false}; and
77917791
\item
7792-
\tcode{is_same_v<expected, remove_cvref_t<U>>} is \tcode{false}; and
7792+
\tcode{is_same_v<remove_cvref_t<U>>, expected} is \tcode{false}; and
77937793
\item
77947794
\tcode{remove_cvref_t<U>} is not a specialization of \tcode{unexpected}; and
77957795
\item

0 commit comments

Comments
 (0)