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