Namespaces
Variants
Views
Actions

std::char_traits::eof

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

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

<td >
static int_type eof();
</td>

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

<td >
static constexpr int_type eof() noexcept;
</td>

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

Returns a value not equivalent to any value of type char_type.

Contents

Parameters

(none)

Return value

A value not equivalent to any value of type char_type.

Exceptions

noexcept specification:  
noexcept
  

Complexity

Constant.

See also

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