Namespaces
Variants
Views
Actions

std::char_traits::not_eof

From cppreference.com
< cpp‎ | string‎ | char traits
Revision as of 08:43, 9 June 2013 by P12 (Talk | contribs)

static int_type not_eof( int_type e );
(until C++11)
static constexpr int_type not_eof( int_type e );
(since C++11)

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

[static]
returns an eof value
(public static member function) [edit]