GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::char_traits::not_eof(3) C++ Standard Libary std::char_traits::not_eof(3)

std::char_traits::not_eof - std::char_traits::not_eof


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


Given e, produce a suitable value that is not equivalent to eof.


Formally


* if X::eq_int_type(e, X::eof()) is false, returns e
* otherwise, returns a value f such that X::eq_int_type(f, X::eof()) is false


This function is typically used when a value other than eof needs to be returned,
such as in implementations of std::basic_streambuf::overflow().


e - value to analyze


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


Constant.


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

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.