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。