2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
12 // [cmp.categories], comparison category types
13 using std::partial_ordering;
14 using std::strong_ordering;
15 using std::weak_ordering;
17 // named comparison functions
25 // [cmp.common], common comparison category type
26 using std::common_comparison_category;
27 using std::common_comparison_category_t;
29 // [cmp.concept], concept three_way_comparable
30 using std::three_way_comparable;
31 using std::three_way_comparable_with;
33 // [cmp.result], result of three-way comparison
34 using std::compare_three_way_result;
36 using std::compare_three_way_result_t;
38 // [comparisons.three.way], class compare_three_way
39 using std::compare_three_way;
41 // [cmp.alg], comparison algorithms
42 inline namespace __cpo {
43 using std::__cpo::compare_partial_order_fallback;
44 using std::__cpo::compare_strong_order_fallback;
45 using std::__cpo::compare_weak_order_fallback;
46 using std::__cpo::partial_order;
47 using std::__cpo::strong_order;
48 using std::__cpo::weak_order;