Files
hustoj/web/cppreference-zh/chmhelp/cpp-numeric-random-subtract_with_carry_engine-discard.html
2025-08-01 12:57:54 +08:00

75 lines
4.0 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::subtract_with_carry_engine&lt;UIntType,w,s,r&gt;::discard</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_numeric_random_subtract_with_carry_engine_discard skin-cppreference2 action-view cpp-page-template 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::subtract_with_carry_engine&lt;UIntType,w,s,r&gt;::</span>discard</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="cpp.html">cpp</a>&lrm; | <a href="cpp-numeric.html">numeric</a>&lrm; | <a href="cpp-numeric-random.html">random</a>&lrm; | <a href="cpp-numeric-random-subtract_with_carry_engine.html">subtract with carry engine</a></span></div>
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr" xml:lang="zh">
<div class="t-page-template" style="">
<p></p>
</div>
<table class="t-dcl-begin">
<tbody>
<tr class="t-dcl t-since-cxx11">
<td>
<div><span class="mw-geshi cpp source-cpp"><span class="kw4">void</span> discard<span class="br0">(</span> <span class="kw4">unsigned</span> <span class="kw4">long</span> <span class="kw4">long</span> z <span class="br0">)</span><span class="sy4">;</span></span></div>
</td>
<td class="t-dcl-nopad"></td>
<td><span class="t-mark-rev t-since-cxx11">(C++11 &#36215;)</span></td>
</tr>
<tr class="t-dcl-sep">
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&#20196;&#20869;&#37096;&#29366;&#24577;&#21069;&#36827; <code>z</code> &#27425;&#12290;&#31561;&#20215;&#20110;&#35843;&#29992; <span class="t-lc"><a href="cpp-numeric-random-subtract_with_carry_engine-operator().html">operator()</a></span> <code>z</code> &#27425;&#24182;&#33293;&#24323;&#32467;&#26524;&#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>z</td>
<td>-</td>
<td>&#25351;&#23450;&#29366;&#24577;&#21069;&#36827;&#27425;&#25968;&#30340;&#25972;&#25968;&#20540;</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=".E5.A4.8D.E6.9D.82.E5.BA.A6">&#22797;&#26434;&#24230;</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;</td>
</tr>
</table>
<h3><span class="mw-headline" id=".E6.B3.A8.E6.84.8F">&#27880;&#24847;</span></h3>
<p>&#23545;&#20110;&#26576;&#20123;&#24341;&#25806;&#65292;&ldquo;&#24555;&#36895;&#36339;&#36716;&rdquo;&#31639;&#27861;&#24050;&#30693;&#65292;&#23427;&#20204;&#33021;&#20196;&#29366;&#24577;&#21069;&#36827;&#35768;&#22810;&#27493;&#65288;&#20197;&#30334;&#19975;&#35745;&#65289;&#32780;&#26080;&#38656;&#35745;&#31639;&#20013;&#38388;&#29366;&#24577;&#36801;&#31227;&#65292;&#23613;&#31649;&#19981;&#38656;&#35201;&#22312;&#24120;&#25968;&#26102;&#38388;&#20869;&#12290;</p>
<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-numeric-random-subtract_with_carry_engine-operator().html"><span class="t-lines"><span>operator()</span></span></a></div>
<div><span class="t-lines"><span><span class="t-mark-rev t-since-cxx11">(C++11)</span></span></span></div>
</div>
</td>
<td>&#25512;&#36827;&#24341;&#25806;&#29366;&#24577;&#24182;&#36820;&#22238;&#29983;&#25104;&#30340;&#20540;<br />
<span class="t-mark">(&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
</table>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>