Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::concepts::WeaklyOrdered Struct Reference

Public Member Functions

template<typename T >
auto requires_ (T &&t) -> decltype( concepts::valid_expr( concepts::convertible_to< bool >(t< t), concepts::convertible_to< bool >(t > t), concepts::convertible_to< bool >(t<=t), concepts::convertible_to< bool >(t >=t) ))
 
template<typename T , typename U , typename C = CommonReference::reference_t<T const &, U const &>>
auto requires_ (T &&t, U &&u) -> decltype( concepts::valid_expr( concepts::model_of< WeaklyOrdered, T >(), concepts::model_of< WeaklyOrdered, U >(), concepts::model_of< CommonReference, T const &, U const & >(), concepts::model_of< WeaklyOrdered, C >(), concepts::convertible_to< bool >(t< u), concepts::convertible_to< bool >(u< t), concepts::convertible_to< bool >(t > u), concepts::convertible_to< bool >(u > t), concepts::convertible_to< bool >(t<=u), concepts::convertible_to< bool >(u<=t), concepts::convertible_to< bool >(t >=u), concepts::convertible_to< bool >(u >=t) ))