Skip to content

Commit 1add66d

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG3039 Unnecessary decay in thread and packaged_task
1 parent 650cba2 commit 1add66d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529

530530
\pnum
531531
\remarks
532-
This constructor shall not participate in overload resolution if \tcode{decay_t<F>}
532+
This constructor shall not participate in overload resolution if \tcode{remove_cvref_t<F>}
533533
is the same type as \tcode{std::thread}.
534534

535535
\pnum
@@ -5014,7 +5014,7 @@
50145014

50155015
\pnum
50165016
\remarks
5017-
This constructor shall not participate in overload resolution if \tcode{decay_t<F>}
5017+
This constructor shall not participate in overload resolution if \tcode{remove_cvref_t<F>}
50185018
is the same type as \tcode{packaged_task<R(ArgTypes...)>}.
50195019

50205020
\pnum

0 commit comments

Comments
 (0)