52 lines · plain
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11 12 // [cmp.categories], comparison category types13 using std::partial_ordering;14 using std::strong_ordering;15 using std::weak_ordering;16 17 // named comparison functions18 using std::is_eq;19 using std::is_gt;20 using std::is_gteq;21 using std::is_lt;22 using std::is_lteq;23 using std::is_neq;24 25 // [cmp.common], common comparison category type26 using std::common_comparison_category;27 using std::common_comparison_category_t;28 29 // [cmp.concept], concept three_way_comparable30 using std::three_way_comparable;31 using std::three_way_comparable_with;32 33 // [cmp.result], result of three-way comparison34 using std::compare_three_way_result;35 36 using std::compare_three_way_result_t;37 38 // [comparisons.three.way], class compare_three_way39 using std::compare_three_way;40 41 // [cmp.alg], comparison algorithms42 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;49 } // namespace __cpo50 51} // namespace std52