A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../io/basic_streambuf/gbump.html below:

std::basic_streambuf<CharT,Traits>::gbump - cppreference.com

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.

[edit] Parameters count - number of characters to skip [edit] Return value

(none)

[edit] Notes

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

[edit] Example [edit] Defect reports

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 as
calling sbumpc count times (which may check underflow) only add count
to the get pointer [edit] See also advances the next pointer of the output sequence
(protected member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4