[all-commits] [llvm/llvm-project] 09a84d: [libc++] Match declaration for non-member function...

Jason Liu via All-commits all-commits at lists.llvm.org
Wed Mar 24 15:34:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09a84d304776cbd97a31fbb0cc8ce772426aaabf
      https://github.com/llvm/llvm-project/commit/09a84d304776cbd97a31fbb0cc8ce772426aaabf
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M libcxx/include/future

  Log Message:
  -----------
  [libc++] Match declaration for non-member function std::swap(std::packaged_task) with what standard specify

Standard specifies:
```
template<class R, class... ArgTypes>
  void swap(packaged_task<R(ArgTypes...)>& x, packaged_task<R(ArgTypes...)>& y) noexcept;
```

Differential Revision: https://reviews.llvm.org/D99102




More information about the All-commits mailing list