Namespaces
Variants
Views
Actions

std::char_traits::eq_int_type

From cppreference.com
< cpp‎ | string‎ | char traits
Revision as of 23:36, 24 February 2013 by 2hertz (Talk | contribs)

Template:ddcl list begin <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
static bool eq_int_type( int_type c1, int_type c2 );
</td>

<td class="t-dcl-nopad"> </td> <td > (until C++11) </td> </tr> <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
static constexpr bool eq_int_type( int_type c1, int_type c2 ) noexcept;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Checks whether two values of type int_type are equal.

Contents

Parameters

c1, c2 - values to compare

Return value

true if c1 is equal to c2, false otherwise.

Exceptions

noexcept specification:  
noexcept
  

Complexity

Constant.