W3cubDocs

/C++

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

void gbump( int count );

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

Parameters

count - number of characters to skip

Return value

(none).

Notes

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

Example

See also

advances the next pointer of the output sequence
(protected member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_streambuf/gbump