std::char_traits::eq_int_type
static bool eq_int_type( int_type c1, int_type c2 ); | | (until C++11) |
---|---|---|
static constexpr bool eq_int_type( int_type c1, int_type c2 ); | | (since C++11) |
检查是否有两个类型的值int_type
是平等的。
参数
c1, c2 | - | values to compare |
---|
返回值
true
如果c1
等于c2
,,,false
否则。
例外
(none) | (until C++11) |
---|---|
noexcept specification: noexcept | (since C++11) |
复杂性
常量。
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com