File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -11861,16 +11861,13 @@
11861
11861
11862
11862
\pnum
11863
11863
\mandates
11864
- \tcode {is_invocable_r_v<R, F\& , ArgTypes...>} is \tcode {true}.
11865
-
11866
- \pnum
11867
- \expects
11868
- Invoking a copy of \tcode {f} behaves the same as invoking \tcode {f}.
11864
+ \tcode {is_invocable_r_v<R, decay_t<F>\& , ArgTypes...>} is \tcode {true}.
11869
11865
11870
11866
\pnum
11871
11867
\effects
11872
- Constructs a new \tcode {packaged_task} object with a shared state and
11873
- initializes the object's stored task with \tcode {std::forward<F>(f)}.
11868
+ Constructs a new \tcode {packaged_task} object with
11869
+ a stored task of type \tcode {decay_t<F>} and a shared state.
11870
+ Initializes the object's stored task with \tcode {std::forward<F>(f)}.
11874
11871
11875
11872
\pnum
11876
11873
\throws
You can’t perform that action at this time.
0 commit comments