[libcxx] fixes `common_reference` requirement for `swappable_with`
authorChristopher Di Bella <cjdb@google.com>
Fri, 2 Apr 2021 21:33:39 +0000 (21:33 +0000)
committerChristopher Di Bella <cjdb@google.com>
Wed, 7 Apr 2021 05:51:36 +0000 (05:51 +0000)
commitcedd07df5136ba446be23dbd2ca7d29d7b82cd60
tree94f81542db7f78e9c504303a61733615119307b3
parenta547b4e26b311e417cd51100e379693f51a3f448
[libcxx] fixes `common_reference` requirement for `swappable_with`

LWG3175 identifies that the `common_reference` requirement for
`swappable_with` is over-constraining and doesn't need to concern itself
with cv- or reference qualifiers.

Differential Revision: https://reviews.llvm.org/D99817
libcxx/docs/Cxx2aStatusIssuesStatus.csv
libcxx/include/concepts
libcxx/test/std/concepts/concepts.lang/concept.swappable/swappable_with.compile.pass.cpp