std::char_traits::eq_int_type

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)

Checks whether two values of type int_type are equal.

Parameters

c1, c2 - values to compare

Return value

true if c1 is equal to c2, false otherwise.

Exceptions

(none) (until C++11)
noexcept specification:
noexcept
(since C++11)

Complexity

Constant.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/string/char_traits/eq_int_type

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部