NexusForce
1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
totally_ordered_with 概念参考
概念约束
检查两个类型是否可以互相完全有序比较
更多...
#include <
concepts.hpp
>
概念定义
template
<
typename
T1,
typename
T2>
concept
totally_ordered_with
=
totally_ordered<T1>
&&
totally_ordered<T2>
&&
equality_comparable_with<T1, T2>
&&
totally_ordered<common_reference_t<const remove_reference_t<T1>
&,
const
remove_reference_t<T2>
&>> &&
both_ordered_with<T1, T2>
both_ordered_with
检查两个类型是否可以双向顺序比较
定义
concepts.hpp:241
equality_comparable_with
检查两个类型是否可以互相进行相等比较
定义
concepts.hpp:213
totally_ordered_with
检查两个类型是否可以互相完全有序比较
定义
concepts.hpp:260
totally_ordered
检查类型是否完全有序
定义
concepts.hpp:251
remove_reference_t
typename remove_reference< T >::type remove_reference_t
remove_reference的便捷别名
定义
type_traits.hpp:486
详细描述
检查两个类型是否可以互相完全有序比较
模板参数
T1
第一个类型
T2
第二个类型
在文件
concepts.hpp
第
260
行定义.
totally_ordered_with
制作者
1.16.0