Namespaces
Variants
Views
Actions

std::char_traits::not_eof

From cppreference.com
< cpp‎ | string‎ | char traits
Revision as of 23:03, 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 int_type not_eof( int_type e );
</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 int_type not_eof( int_type e ) noexcept;
</td>

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

Checks whether e is not equivalent to eof value.

Contents

Parameters

e - value to analyze

Return value

e if e and eof value are not equivalent, some other value otherwise.

Exceptions

noexcept specification:  
noexcept
  

Complexity

Constant.

See also

Template:cpp/string/char traits/dcl list eof