上传cppreference

This commit is contained in:
2025-08-01 12:57:54 +08:00
parent e29892f8cd
commit 196e706fe4
5485 changed files with 982007 additions and 3 deletions

View File

@@ -0,0 +1,63 @@
<!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::experimental::ranges::Destructible</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_experimental_ranges_concepts_Destructible 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::experimental::ranges::</span>Destructible</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="cpp.html">cpp</a>&lrm; | <a href="cpp-experimental.html">experimental</a>&lrm; | <a href="cpp-experimental-ranges.html">ranges</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-dsc-header">
<td>
<div>&#23450;&#20041;&#20110;&#22836;&#25991;&#20214; <code><a href="cpp-header-experimental-ranges-concepts.html">&lt;experimental/ranges/concepts&gt;</a></code></div>
</td>
<td></td>
<td></td>
</tr>
<tr class="t-dcl t-since-ranges">
<td>
<div><span class="mw-geshi cpp source-cpp"><span class="kw1">template</span> <span class="sy1">&lt;</span> <span class="kw1">class</span> T <span class="sy1">&gt;</span><br />
concept <span class="kw4">bool</span> Destructible <span class="sy1">=</span> <a href="cpp-types-is_destructible.html"><span class="kw566">std::<span class="me2">is_nothrow_destructible</span></span></a><span class="sy1">&lt;</span>T<span class="sy1">&gt;</span><span class="sy4">::</span><span class="me2">value</span><span class="sy4">;</span></span></div>
</td>
<td class="t-dcl-nopad"></td>
<td><span class="t-mark-rev t-since-ranges-ts t-mark-ts">(&#33539;&#22260; TS)</span></td>
</tr>
<tr class="t-dcl-sep">
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&#27010;&#24565; <code>Destructible</code> &#25351;&#23450;&#25152;&#26377;&#33021;&#22312;&#20854;&#29983;&#23384;&#26399;&#32467;&#23614;&#23433;&#20840;&#38144;&#27585;&#30340;&#31867;&#22411;&#65288;&#21253;&#25324;&#24341;&#29992;&#31867;&#22411;&#65289;&#12290;</p>
<p><code>Destructible&lt;T&gt;</code> &#19982; <span class="t-c"><span class="mw-geshi cpp source-cpp"><a href="cpp-types-is_destructible.html"><span class="kw566">std::<span class="me2">is_nothrow_destructible</span></span></a><span class="sy1">&lt;</span>T<span class="sy1">&gt;</span><span class="sy4">::</span><span class="me2">value</span></span></span> &#38388;&#19981;&#38656;&#35201;&#26377;&#20219;&#20309;&#34164;&#21547;&#20851;&#31995;&#12290;</p>
<h3><span class="mw-headline" id=".E6.B3.A8.E6.84.8F">&#27880;&#24847;</span></h3>
<p>&#19981;&#21516;&#20110;&#20027;&#35201; C++ &#26631;&#20934;&#20013;&#30340;<a href="cpp-named_req-Destructible.html"><span style="font-style:italic">&#21487;&#26512;&#26500;</span> <span style="font-family: Georgia, &#39;DejaVu Serif&#39;, serif; font-style:italic">(Destructible)</span></a> &#24211;&#27010;&#24565;&#65292; <code>ranges::Destructible</code> &#35201;&#27714;&#26512;&#26500;&#20989;&#25968;&#20026; <span class="t-c"><span class="mw-geshi cpp source-cpp"><span class="kw1">noexcept</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span></span></span> &#65292;&#32780;&#19981;&#20165;&#26159;&#22312;&#35843;&#29992;&#26102;&#19981;&#25243;&#24322;&#24120;&#65292;&#24182;&#19988;&#20801;&#35768;&#24341;&#29992;&#31867;&#22411;&#21644;&#25968;&#32452;&#31867;&#22411;&#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-types-is_destructible.html"><span class="t-lines"><span>is_destructible</span><span>is_trivially_destructible</span><span>is_nothrow_destructible</span></span></a></div>
<div><span class="t-lines"><span><span class="t-mark-rev t-since-cxx11">(C++11)</span></span><span><span class="t-mark-rev t-since-cxx11">(C++11)</span></span><span><span class="t-mark-rev t-since-cxx11">(C++11)</span></span></span></div>
</div>
</td>
<td>&#26816;&#26597;&#31867;&#22411;&#26159;&#21542;&#25317;&#26377;&#26410;&#34987;&#24323;&#32622;&#30340;&#26512;&#26500;&#20989;&#25968;<br />
<span class="t-mark">(&#31867;&#27169;&#26495;)</span></td>
</tr>
</table>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>