[all-commits] [llvm/llvm-project] 963b77: [libc++] Mark [P0475] "LWG2511: guaranteed copy el...

Quuxplusone via All-commits all-commits at lists.llvm.org
Fri Jan 8 14:34:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 963b771e24caff502d6b5d9b2f72dd88dd56e97a
      https://github.com/llvm/llvm-project/commit/963b771e24caff502d6b5d9b2f72dd88dd56e97a
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatusPaperStatus.csv

  Log Message:
  -----------
  [libc++] Mark [P0475] "LWG2511: guaranteed copy elision for piecewise construction" as Complete.

The point of LWG2511 is basically just to make sure that we use
`tuple<Args&&...>` instead of `tuple<Args...>` in a couple of places
inside `scoped_allocator_adaptor` and inside `pair`.
As far as I can tell, this has been true for libc++
since EricWF's D27612 (and maybe even earlier than that).


  Commit: cdd7cbf7b56bf9e46914ee95c0658f543c7c14a9
      https://github.com/llvm/llvm-project/commit/cdd7cbf7b56bf9e46914ee95c0658f543c7c14a9
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatusPaperStatus.csv

  Log Message:
  -----------
  [libc++] Mark [P0809] "LWG2831: Comparing Unordered Containers" as Nothing To Do.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0809r0.pdf

This issue/paper simply removed some library UB because vendors were
already doing the right thing. libc++ has always done the right thing
(in this respect).

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


Compare: https://github.com/llvm/llvm-project/compare/ca1694b9d07c...cdd7cbf7b56b


More information about the All-commits mailing list