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.