HomePhabricator

[libcxx] fixes `common_reference` requirement for `swappable_with`

Authored by cjdb on Apr 2 2021, 2:33 PM.

Description

[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