@@ -88,7 +88,6 @@ constexpr bool test_sequence_container_spaceship() {
8888 std::weak_ordering>();
8989
9090 // Thanks to SFINAE, the following is not a compiler error but returns `false`
91- struct NonComparable {};
9291 static_assert (!std::three_way_comparable<Container<NonComparable>>);
9392
9493 return true ;
@@ -163,7 +162,6 @@ constexpr void test_sequence_container_adaptor_spaceship_with_type() {
163162template <template <typename ...> typename ContainerAdaptor, template <typename ...> typename Container>
164163constexpr bool test_sequence_container_adaptor_spaceship () {
165164 // Thanks to SFINAE, the following is not a compiler error but returns `false`
166- struct NonComparable {};
167165 static_assert (!std::three_way_comparable<ContainerAdaptor<NonComparable>>);
168166
169167 // The container should fulfill `std::three_way_comparable`
@@ -301,7 +299,6 @@ constexpr void test_ordered_map_container_spaceship_with_type(Compare comp) {
301299template <template <typename ...> typename Container>
302300constexpr bool test_ordered_map_container_spaceship () {
303301 // Thanks to SFINAE, the following is not a compiler error but returns `false`
304- struct NonComparable {};
305302 static_assert (!std::three_way_comparable<Container<int , NonComparable>>);
306303
307304 // The container should fulfill `std::three_way_comparable`
@@ -444,7 +441,6 @@ constexpr void test_ordered_set_spaceship_with_type(Compare comp) {
444441template <template <typename ...> typename Container>
445442constexpr bool test_ordered_set_container_spaceship () {
446443 // Thanks to SFINAE, the following is not a compiler error but returns `false`
447- struct NonComparable {};
448444 static_assert (!std::three_way_comparable<Container<NonComparable>>);
449445
450446 // The container should fulfill `std::three_way_comparable`
0 commit comments