/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/18_support/comparisons/categories/ |
H A D | weakord.cc | 23 using std::weak_ordering; 25 static_assert( weak_ordering::less == weak_ordering::less ); 26 static_assert( weak_ordering::less != weak_ordering::equivalent ); 27 static_assert( weak_ordering::less != weak_ordering::greater ); 28 static_assert( weak_ordering::equivalent == weak_ordering::equivalent ); 29 static_assert( weak_ordering::equivalent != weak_ordering::greater ); 30 static_assert( weak_ordering::greater == weak_ordering::greater ); 42 static_assert( (weak_ordering::less <=> 0) == weak_ordering::less ); 43 static_assert( (0 <=> weak_ordering::less) == weak_ordering::greater ); 68 static_assert( (weak_ordering::greater <=> 0) == weak_ordering::greater ); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 95 std::weak_ordering Value; in test_constexpr() 135 std::weak_ordering Value; in test_constexpr() 160 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 161 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 162 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 164 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 170 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 95 std::weak_ordering Value; in test_constexpr() 135 std::weak_ordering Value; in test_constexpr() 160 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 161 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 162 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 164 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 170 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 95 std::weak_ordering Value; in test_constexpr() 135 std::weak_ordering Value; in test_constexpr() 160 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 161 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 162 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 164 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 170 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 95 std::weak_ordering Value; in test_constexpr() 135 std::weak_ordering Value; in test_constexpr() 160 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 161 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 162 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 164 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 170 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 26 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 63 auto V = std::weak_ordering::less; in test_conversion() 88 auto& Less = std::weak_ordering::less; in test_constexpr() 91 std::weak_ordering Value; in test_constexpr() 131 std::weak_ordering Value; in test_constexpr() 156 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 157 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 158 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 160 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 166 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 26 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 63 auto V = std::weak_ordering::less; in test_conversion() 88 auto& Less = std::weak_ordering::less; in test_constexpr() 91 std::weak_ordering Value; in test_constexpr() 131 std::weak_ordering Value; in test_constexpr() 156 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 157 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 158 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 160 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 166 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 26 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 63 auto V = std::weak_ordering::less; in test_conversion() 88 auto& Less = std::weak_ordering::less; in test_constexpr() 91 std::weak_ordering Value; in test_constexpr() 131 std::weak_ordering Value; in test_constexpr() 156 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 157 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 158 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 160 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 166 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 26 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 63 auto V = std::weak_ordering::less; in test_conversion() 88 auto& Less = std::weak_ordering::less; in test_constexpr() 91 std::weak_ordering Value; in test_constexpr() 131 std::weak_ordering Value; in test_constexpr() 156 static_assert(std::weak_ordering::less == std::weak_ordering::less); in test_constexpr() 157 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr() 158 static_assert(std::weak_ordering::less != std::weak_ordering::greater); in test_constexpr() 160 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr() 166 static_assert(std::weak_ordering::greater != std::weak_ordering::less); in test_constexpr() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 static_assert( weak_order(one, two) == weak_ordering::less ); in test01() 39 constexpr weak_ordering different_cv_quals(int i, const int j) in different_cv_quals() 73 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); in test03() 77 VERIFY( weak_order(nan, 0.0) == weak_ordering::greater ); in test03() 78 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); in test03() 79 VERIFY( weak_order(-nan, min) == weak_ordering::less ); in test03() 81 VERIFY( weak_order(-nan, -inf) == weak_ordering::less ); in test03() 85 VERIFY( weak_order(inf, nan) == weak_ordering::less ); in test03() 93 constexpr weak_ordering operator<=>(X l, X r) in operator <=>() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 static_assert( weak_order(one, two) == weak_ordering::less ); in test01() 39 constexpr weak_ordering different_cv_quals(int i, const int j) in different_cv_quals() 73 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); in test03() 77 VERIFY( weak_order(nan, 0.0) == weak_ordering::greater ); in test03() 78 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); in test03() 79 VERIFY( weak_order(-nan, min) == weak_ordering::less ); in test03() 81 VERIFY( weak_order(-nan, -inf) == weak_ordering::less ); in test03() 85 VERIFY( weak_order(inf, nan) == weak_ordering::less ); in test03() 93 constexpr weak_ordering operator<=>(X l, X r) in operator <=>() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 VERIFY( weak_order(one, two) == weak_ordering::less ); in different_cv_quals() 35 VERIFY( weak_order(two, one) == weak_ordering::greater ); 72 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); 75 VERIFY( weak_order(-nan, nan) == weak_ordering::less ); 77 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); 78 VERIFY( weak_order(-nan, min) == weak_ordering::less ); 82 VERIFY( weak_order(max, inf) == weak_ordering::less ); 84 VERIFY( weak_order(inf, nan) == weak_ordering::less ); 92 constexpr weak_ordering operator<=>(X l, X r) [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 static_assert( weak_order(one, two) == weak_ordering::less ); in test01() 39 constexpr weak_ordering different_cv_quals(int i, const int j) in different_cv_quals() 73 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); in test03() 77 VERIFY( weak_order(nan, 0.0) == weak_ordering::greater ); in test03() 78 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); in test03() 79 VERIFY( weak_order(-nan, min) == weak_ordering::less ); in test03() 81 VERIFY( weak_order(-nan, -inf) == weak_ordering::less ); in test03() 85 VERIFY( weak_order(inf, nan) == weak_ordering::less ); in test03() 93 constexpr weak_ordering operator<=>(X l, X r) in operator <=>() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 VERIFY( weak_order(one, two) == weak_ordering::less ); in test01() 35 VERIFY( weak_order(two, one) == weak_ordering::greater ); in test01() 72 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); in test03() 75 VERIFY( weak_order(-nan, nan) == weak_ordering::less ); in test03() 77 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); in test03() 78 VERIFY( weak_order(-nan, min) == weak_ordering::less ); in test03() 82 VERIFY( weak_order(max, inf) == weak_ordering::less ); in test03() 84 VERIFY( weak_order(inf, nan) == weak_ordering::less ); in test03() 92 constexpr weak_ordering operator<=>(X l, X r) in operator <=>() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 static_assert( weak_order(one, two) == weak_ordering::less ); in test01() 39 constexpr weak_ordering different_cv_quals(int i, const int j) in different_cv_quals() 73 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); in test03() 77 VERIFY( weak_order(nan, 0.0) == weak_ordering::greater ); in test03() 78 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); in test03() 79 VERIFY( weak_order(-nan, min) == weak_ordering::less ); in test03() 81 VERIFY( weak_order(-nan, -inf) == weak_ordering::less ); in test03() 85 VERIFY( weak_order(inf, nan) == weak_ordering::less ); in test03() 93 constexpr weak_ordering operator<=>(X l, X r) in operator <=>() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ |
H A D | weak_order.cc | 26 using std::weak_ordering; 33 VERIFY( weak_order(one, two) == weak_ordering::less ); in test01() 35 VERIFY( weak_order(two, one) == weak_ordering::greater ); in test01() 72 VERIFY( weak_order(0.0, nan) == weak_ordering::less ); in test03() 75 VERIFY( weak_order(-nan, nan) == weak_ordering::less ); in test03() 77 VERIFY( weak_order(-nan, 0.0) == weak_ordering::less ); in test03() 78 VERIFY( weak_order(-nan, min) == weak_ordering::less ); in test03() 82 VERIFY( weak_order(max, inf) == weak_ordering::less ); in test03() 84 VERIFY( weak_order(inf, nan) == weak_ordering::less ); in test03() 92 constexpr weak_ordering operator<=>(X l, X r) in operator <=>() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 25 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 31 auto& Eq = std::weak_ordering::equivalent; in test_signatures() 61 std::weak_ordering WeakTestCases[] = { in test_conversion() 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 83 auto V = std::weak_ordering::greater; in test_conversion() 92 auto& Less = std::weak_ordering::less; in test_constexpr() 95 std::weak_ordering Value; in test_constexpr() 124 std::weak_ordering res = (Eq <=> 0); in test_constexpr() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 25 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 31 auto& Eq = std::weak_ordering::equivalent; in test_signatures() 61 std::weak_ordering WeakTestCases[] = { in test_conversion() 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 83 auto V = std::weak_ordering::greater; in test_conversion() 92 auto& Less = std::weak_ordering::less; in test_constexpr() 95 std::weak_ordering Value; in test_constexpr() 124 std::weak_ordering res = (Eq <=> 0); in test_constexpr() [all …]
|
/dports/devel/libc++/libcxx-10.0.1.src/test/std/language.support/cmp/cmp.weakord/ |
H A D | weakord.pass.cpp | 25 DoNotOptimize(&std::weak_ordering::less); in test_static_members() 31 auto& Eq = std::weak_ordering::equivalent; in test_signatures() 61 std::weak_ordering WeakTestCases[] = { in test_conversion() 62 std::weak_ordering::less, in test_conversion() 63 std::weak_ordering::greater, in test_conversion() 78 auto V = std::weak_ordering::less; in test_conversion() 83 auto V = std::weak_ordering::greater; in test_conversion() 92 auto& Less = std::weak_ordering::less; in test_constexpr() 95 std::weak_ordering Value; in test_constexpr() 124 std::weak_ordering res = (Eq <=> 0); in test_constexpr() [all …]
|