Skip to content

Commit 7bebe67

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG3041 Unnecessary decay in reference_wrapper
1 parent 1add66d commit 7bebe67

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
@@ -13281,7 +13281,7 @@
1328113281
\end{codeblock}
1328213282
This constructor shall not participate in overload resolution unless
1328313283
the expression \tcode{\placeholdernc{FUN}(declval<U>())} is well-formed and
13284-
\tcode{is_same_v<decay_t<U>, reference_wrapper>} is \tcode{false}.
13284+
\tcode{is_same_v<remove_cvref_t<U>, reference_wrapper>} is \tcode{false}.
1328513285
The expression inside \tcode{noexcept}
1328613286
is equivalent to \tcode{noexcept(\placeholdernc{FUN}(declval<U>()))}.
1328713287

0 commit comments

Comments
 (0)