std::basic_streambuf::sbumpc
int_type sbumpc();  |   |   | 
|---|
读取一个字符并将输入序列按一个字符推进。
如果输入序列读取位置不可用,则返回uflow().否则返回Traits::to_int_type(*gptr())...
参数
%280%29
返回值
对象所指向的字符的值。获取指针,或Traits::eof()如果读取位置不可用。
例
另见
sgetc  | reads one character from the input sequence without advancing the sequence (public member function)  | 
|---|---|
snextc  | advances the input sequence, then reads one character without advancing again (public member function)  | 
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

