protected: void gbump( int count ); |
Skips count
characters in the get area. This is done by adding count
to the get pointer. No checks are done for underflow.
count | - | number of characters to skip |
(none).
Because this function takes an int
, it cannot manipulate buffers larger than std::numeric_limits<int>::max()
characters (LWG 255).
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR | Applied to | Behavior as published | Correct behavior |
---|---|---|---|
LWG 59 | C++98 | it was unclear whether gbump can be implemented ascalling sbumpc count times (which may check underflow) | only add count to the get pointer |
advances the next pointer of the output sequence (protected member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/io/basic_streambuf/gbump