Namespaces
Variants
Views
Actions

std::basic_streambuf::snextc

From cppreference.com
< cpp‎ | io‎ | basic streambuf
Revision as of 18:58, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
int_type snextc();

Advances the input sequence by one character and reads one character.

The function calls Template:rlpf to advance the input sequence. If that function returns traits::eof() meaning that input sequence has been exhausted and Template:rlpf could not retrieve more data, traits::eof() is returned. Otherwise Template:rlpf is called in order to read the character.

Contents

Parameters

(none)

Return value

The value of the next character. If the input sequence has been exhausted, traits::eof() is returned.

Example

See also

Template:cpp/io/basic streambuf/dcl list sgetcTemplate:cpp/io/basic streambuf/dcl list sbumpc