首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

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)

复杂性

常量。

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券