Files
hustoj/web/cppreference-zh/chmhelp/cpp-io-basic_streambuf-gbump.html
2025-08-01 12:57:54 +08:00

72 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh">
<head><meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>std::basic_streambuf&lt;CharT,Traits&gt;::gbump</title>
<link rel="stylesheet" href="ext.css" />
<link rel="stylesheet" href="site_modules.css" />
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_io_basic_streambuf_gbump skin-cppreference2 action-view cpp-navbar">
<div id="cpp-content-base">
<div id="content"><a id="top"></a>
<h1 id="firstHeading" class="firstHeading"><span style="font-size:0.7em; line-height:130%">std::basic_streambuf&lt;CharT,Traits&gt;::</span>gbump</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="cpp.html">cpp</a>&lrm; | <a href="cpp-io.html">io</a>&lrm; | <a href="cpp-io-basic_streambuf.html">basic streambuf</a></span></div>
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr" xml:lang="zh">
<table class="t-dcl-begin">
<tbody>
<tr class="t-dcl">
<td class="t-dcl-nopad">
<div><span class="mw-geshi cpp source-cpp"><span class="kw4">void</span> gbump<span class="br0">(</span> <span class="kw4">int</span> count <span class="br0">)</span><span class="sy4">;</span></span></div>
</td>
<td class="t-dcl-nopad"></td>
<td class="t-dcl-nopad"></td>
</tr>
<tr class="t-dcl-sep">
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&#36339;&#36807;&#33719;&#21462;&#21306;&#20013;&#30340; <code>count</code> &#20010;&#23383;&#31526;&#12290;&#36890;&#36807;&#20196;<i>&#33719;&#21462;&#25351;&#38024;</i>&#21069;&#36827; <code>count</code> &#20010;&#23383;&#31526;&#12290;&#19981;&#20026;&#19979;&#28322;&#20570;&#26816;&#26597;&#12290;</p>
<h3><span class="mw-headline" id=".E5.8F.82.E6.95.B0">&#21442;&#25968;</span></h3>
<table class="t-par-begin">
<tr class="t-par">
<td>count</td>
<td>-</td>
<td>&#35201;&#36339;&#36807;&#30340;&#23383;&#31526;&#25968;</td>
</tr>
</table>
<h3><span class="mw-headline" id=".E8.BF.94.E5.9B.9E.E5.80.BC">&#36820;&#22238;&#20540;</span></h3>
<p>&#65288;&#26080;&#65289;</p>
<h3><span class="mw-headline" id=".E6.B3.A8.E6.84.8F">&#27880;&#24847;</span></h3>
<p>&#22240;&#20026;&#27492;&#20989;&#25968;&#25509;&#25910; <code>int</code> &#65292;&#25925;&#23427;&#26080;&#27861;&#25805;&#32437;&#22823;&#20110; <code>std::numeric_limits&lt;int&gt;::max()</code> &#23383;&#31526;&#30340;&#32531;&#20914;&#21306;&#65288; <a rel="nofollow" class="external text" href="http://wg21.link/lwg255">LWG 255</a> &#65289;&#12290;</p>
<h3><span class="mw-headline" id=".E7.A4.BA.E4.BE.8B">&#31034;&#20363;</span></h3>
<table class="metadata plainlinks ambox mbox-small-left ambox-notice" style="">
<tr>
<td class="mbox-empty-cell"></td>
<td class="mbox-text" style="">&#26412;&#33410;&#26410;&#23436;&#25104;<br />
&#21407;&#22240;&#65306;&#26242;&#26080;&#31034;&#20363;</td>
</tr>
</table>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">&#21442;&#38405;</span></h3>
<table class="t-dsc-begin">
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-io-basic_streambuf-pbump.html"><span class="t-lines"><span>pbump</span></span></a></div>
</div>
</td>
<td>&#20196;&#36755;&#20986;&#24207;&#21015;&#20013;&#30340;&#19979;&#19968;&#20301;&#32622;&#25351;&#38024;&#21069;&#36827;<br />
<span class="t-mark">(&#21463;&#20445;&#25252;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
</table>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>