init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled

This commit is contained in:
allhaileris
2026-02-16 15:50:16 +03:00
commit afb81b8278
13816 changed files with 3689732 additions and 0 deletions

View File

@@ -0,0 +1,121 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Range-v3: ranges::requires_ Concept Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Range-v3
</div>
<div id="projectbrief">Range algorithms, views, and actions for the Standard Library</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.svg"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('conceptranges_1_1requires__.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle"><div class="title">ranges::requires_ Concept Reference<div class="ingroups"><a class="el" href="group__group-range.html">Range</a> &#124; <a class="el" href="group__group-functional.html">Functional</a> &#124; <a class="el" href="group__group-iterator.html">Iterator</a> &raquo; <a class="el" href="group__group-iterator-concepts.html">Iterator Concepts</a> &#124; <a class="el" href="group__group-range.html">Range</a> &raquo; <a class="el" href="group__group-range-concepts.html">Range Concepts</a> &#124; <a class="el" href="group__group-numerics.html">Numerics</a></div></div></div>
</div><!--header-->
<div class="contents">
<p>Range concepts below.
<a href="conceptranges_1_1requires__.html#details">More...</a></p>
<p><code>#include &lt;range/v3/range/concepts.hpp&gt;</code></p>
<h2 class="groupheader">Concept definition</h2>
<div class="fragment"><div class="line"><span class="keyword">template</span>&lt;<span class="keyword">typename</span> C&gt;</div>
<div class="line"><span class="keyword">concept </span><a class="code hl_concept" href="conceptranges_1_1requires__.html">ranges::requires_</a> = <a class="code hl_variable" href="insert_8hpp.html#a7a201d897293f2c483d025352de47b63">CPP_PP_CAT</a>(CPP_REQUIRES_, <span class="keyword">requires</span>(C &amp; c, C <span class="keyword">const</span> &amp; cc) ( c.reserve(<a class="code hl_typedef" href="group__list.html#ga82704ab3563d63460b7ac1be6c9876c9">ranges::size</a>(c)), cc.capacity(), cc.max_size(), concepts::requires_&lt;same_as&lt;<span class="keyword">decltype</span>(cc.capacity()), <span class="keyword">decltype</span>(<a class="code hl_typedef" href="group__list.html#ga82704ab3563d63460b7ac1be6c9876c9">ranges::size</a>(c))&gt;&gt;, concepts::requires_&lt;same_as&lt;<span class="keyword">decltype</span>(cc.max_size()), <span class="keyword">decltype</span>(<a class="code hl_typedef" href="group__list.html#ga82704ab3563d63460b7ac1be6c9876c9">ranges::size</a>(c))&gt;&gt; ) )</div>
<div class="ttc" id="aconceptranges_1_1requires___html"><div class="ttname"><a href="conceptranges_1_1requires__.html">ranges::requires_</a></div><div class="ttdoc">Range concepts below.</div><div class="ttdef"><b>Definition:</b> concepts.hpp:86</div></div>
<div class="ttc" id="agroup__list_html_ga82704ab3563d63460b7ac1be6c9876c9"><div class="ttname"><a href="group__list.html#ga82704ab3563d63460b7ac1be6c9876c9">meta::size</a></div><div class="ttdeci">meta::size_t&lt; L::size()&gt; size</div><div class="ttdoc">An integral constant wrapper that is the size of the meta::list L.</div><div class="ttdef"><b>Definition:</b> meta.hpp:1696</div></div>
<div class="ttc" id="ainsert_8hpp_html_a7a201d897293f2c483d025352de47b63"><div class="ttname"><a href="insert_8hpp.html#a7a201d897293f2c483d025352de47b63">ranges::CPP_PP_CAT</a></div><div class="ttdeci">P I S j decltype(detail::insert_impl(static_cast&lt; Cont &amp;&amp; &gt;(cont), static_cast&lt; P &amp;&amp; &gt;(p), static_cast&lt; I &amp;&amp; &gt;(i), static_cast&lt; S &amp;&amp; &gt;(j), meta::bool_&lt; random_access_reservable&lt; Cont &gt; &amp;&amp;//sized_sentinel_for&lt; S, I &gt; &gt;{})) CPP_PP_CAT(CPP_TEMPLATE_AUX_, CPP_PP_EVAL(CPP_PP_CHECK, CPP_PP_CAT(CPP_TEMPLATE_PROBE_CONCEPT_, requires lvalue_container_like&lt; Cont &gt; &amp;&amp;input_iterator&lt; I &gt; &amp;&amp;range&lt; Rng &gt;)))() auto insert(Cont &amp;&amp;cont</div><div class="ttdef"><b>Definition:</b> insert.hpp:200</div></div>
</div><!-- fragment --><a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Range concepts below. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>ranges</b></li><li class="navelem"><a class="el" href="conceptranges_1_1requires__.html">requires_</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
</ul>
</div>
</body>
</html>