llvm-project/libcxx/test/std/utilities/variant/variant.relops
Joe Loser dd9afdbb2a [libc++] Fix missing requires clause on variant operator<=>
`std::variant::operator<=>` is missing a requires clause ensuring that
`operator<=>` only exists when all of the types in the variant are
`three_way_comparable`.

Add the missing requires clause and adjust the existing test which was
incorrect.

Fixes https://github.com/llvm/llvm-project/issues/58192.

Differential Revision: https://reviews.llvm.org/D136050
2022-10-17 16:23:02 -06:00
..
relops.pass.cpp [libc++] Remove "// -*- C++ -*-" comments from all .cpp files. NFCI. 2021-10-01 12:06:59 -04:00
relops_bool_conv.fail.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
three_way.pass.cpp [libc++] Fix missing requires clause on variant operator<=> 2022-10-17 16:23:02 -06:00