Closed
Description
template <class R>
void swap(packaged_task<R(ArgTypes...)>&,packaged_task<R(ArgTypes...)>&) noexcept;
should be
template <class R, class... ArgTypes>
void swap(packaged_task<R(ArgTypes...)>&,packaged_task<R(ArgTypes...)>&) noexcept;
The declaration in [futures.task] and the definition in [futures.task.nonmembers] are correct.
Metadata
Metadata
Assignees
Labels
An issue with a small change; with "cwg" label: can be applied editorially after CWG consent.An issue with a small change; with "cwg" label: can be applied editorially after CWG consent.