std::basic_streambuf<CharT,Traits>::gbump

Skips count characters in the get area. This is done by adding count to the get pointer. No checks are done for underflow.

# Declarations

protected:
void gbump( int count );

# Parameters

# Return value

(none)

# Notes

Because this function takes an int, it cannot manipulate buffers larger than std::numeric_limits::max() characters (LWG issue 255).

# Example

This section is incompleteReason: no example

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 59C++98it was unclear whether gbump can be implemented ascalling sbumpc count times (which may check underflow)only add countto the get pointer

# See also