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
 

Typedefs

template<typename _Tp , typename _Up >
using std::__detail::__cmp3way_res_t = decltype(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  _Ncmp : type { _Unordered }
 
enum  _Ord : type { equivalent, less, greater }
 

Functions

template<typename... _Ts>
constexpr auto std::__detail::__common_cmp_cat ()
 
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 >
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
 
constexpr __compare::_Partial_fallback std::_Cpo::compare_partial_order_fallback
 
constexpr __compare::_Strong_fallback std::_Cpo::compare_strong_order_fallback
 
constexpr __compare::_Weak_fallback std::_Cpo::compare_weak_order_fallback
 
constexpr __compare::_Partial_order std::_Cpo::partial_order
 
template<typename _Tp , typename _Up >
requires std::__detail::requires
 
constexpr __compare::_Strong_order std::_Cpo::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 __compare::_Weak_order std::_Cpo::weak_order
 

Detailed Description

This is a Standard C++ Library header.

Definition in file compare.