Namespaces
Variants

std::basic_streambuf<CharT,Traits>:: sbumpc, std::basic_streambuf<CharT,Traits>:: stossc

From cppreference.net
int_type sbumpc ( ) ;
(1)
void stossc ( ) ;
(2) (C++98で非推奨)
(C++17で削除)

1文字を読み取り、入力シーケンスを1文字進めます。

1) 入力シーケンスの読み取り位置が利用できない場合、 uflow() を返す。それ以外の場合、 Traits :: to_int_type ( * gptr ( ) ) を返す。
2) (1) と同じですが、結果を破棄します。

目次

パラメータ

(なし)

戻り値

1) get pointer が指す文字の値、または読み取り位置が利用できない場合は Traits :: eof ( )

関連項目

入力シーケンスから1文字を読み取り、シーケンスを進めない
(public member function)
入力シーケンスを進めてから、再度進めずに1文字を読み取る
(public member function)