libstdc++
compare File Reference

Go to the source code of this file.

Classes

struct  std::compare_three_way_result< _Tp, _Up >
 

Namespaces

 std
 
 std::__detail
 

Macros

#define __cpp_lib_three_way_comparison
 
#define _COMPARE
 

Typedefs

template<typename _Tp , typename _Up >
using std::__detail::__cmp3way_res_t = decltype(std::declval< _Tp >()<=> std::declval< _Up >())
 
template<typename _Tp , typename _Up = _Tp>
using std::__detail::__synth3way_t = decltype(__detail::__synth3way(std::declval< _Tp & >(), std::declval< _Up & >()))
 
template<typename... _Ts>
using std::common_comparison_category_t = typename common_comparison_category< _Ts... >::type
 
template<typename _Tp , typename _Up = _Tp>
using std::compare_three_way_result_t = typename __detail::__cmp3way_res_impl< _Tp, _Up >::type
 
using std::__cmp_cat::type = signed char
 

Enumerations

enum class  _Ncmp : type { _Unordered }
 
enum class  _Ord : type { equivalent , less , greater }
 

Functions

template<typename... _Ts>
constexpr auto std::__detail::__common_cmp_cat ()
 
template<floating_point _Tp>
constexpr weak_ordering std::__cmp_cust::__fp_weak_ordering (_Tp __e, _Tp __f)
 
constexpr bool std::is_eq (partial_ordering __cmp) noexcept
 
constexpr bool std::is_gt (partial_ordering __cmp) noexcept
 
constexpr bool std::is_gteq (partial_ordering __cmp) noexcept
 
constexpr bool std::is_lt (partial_ordering __cmp) noexcept
 
constexpr bool std::is_lteq (partial_ordering __cmp) noexcept
 
constexpr bool std::is_neq (partial_ordering __cmp) noexcept
 

Variables

template<typename _Tp , typename _Up >
concept std::__detail::__3way_builtin_ptr_cmp
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__adl_partial
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__adl_strong
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__adl_weak
 
template<typename _Ord , typename _Tp , typename _Up >
concept std::__cmp_cust::__cmp3way
 
template<typename _Tp >
constexpr unsigned std::__detail::__cmp_cat_id
 
template<>
constexpr unsigned std::__detail::__cmp_cat_id< partial_ordering >
 
template<>
constexpr unsigned std::__detail::__cmp_cat_id< strong_ordering >
 
template<>
constexpr unsigned std::__detail::__cmp_cat_id< weak_ordering >
 
template<typename _Tp , typename _Cat >
concept std::__detail::__compares_as
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__decayed_same_as
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__op_eq_lt
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__op_eq_lt_lt
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__partially_ordered
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__strongly_ordered
 
constexpr struct std::__detail::_Synth3way std::__detail::__synth3way
 
template<typename _Tp , typename _Up >
concept std::__cmp_cust::__weakly_ordered
 
constexpr __cmp_cust::_Partial_fallback std::compare_partial_order_fallback
 
constexpr __cmp_cust::_Strong_fallback std::compare_strong_order_fallback
 
constexpr __cmp_cust::_Weak_fallback std::compare_weak_order_fallback
 
constexpr __cmp_cust::_Partial_order std::partial_order
 
template<typename _Tp , typename _Up >
requires std::__detail::requires
 
constexpr __cmp_cust::_Strong_order std::strong_order
 
template<typename _Tp , typename _Cat = partial_ordering>
concept std::three_way_comparable
 
template<typename _Tp , typename _Up , typename _Cat = partial_ordering>
concept std::three_way_comparable_with
 
constexpr __cmp_cust::_Weak_order std::weak_order
 

Detailed Description

This is a Standard C++ Library header.

Definition in file compare.