Files
entt/dense__set_8hpp_source.html
T
2024-10-23 15:07:48 +02:00

934 lines
201 KiB
HTML

<!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" lang="en-US">
<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.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EnTT: src/entt/container/dense_set.hpp Source File</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>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.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>
<link href="doxygen-awesome.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">EnTT<span id="projectnumber">&#160;3.14.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_66e9674e8206a335795995fa32a03c91.html">entt</a></li><li class="navelem"><a class="el" href="dir_7ec033ccd3859ebe4fcfc7c04a4d1ca0.html">container</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">dense_set.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef ENTT_CONTAINER_DENSE_SET_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_CONTAINER_DENSE_SET_HPP</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;cmath&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;cstddef&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;iterator&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;limits&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;tuple&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;../config/config.h&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include &quot;../core/bit.hpp&quot;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include &quot;../core/compressed_pair.hpp&quot;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include &quot;../core/type_traits.hpp&quot;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &quot;fwd.hpp&quot;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">namespace </span>internal {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">class </span>dense_set_iterator final {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">friend</span> <span class="keyword">class </span>dense_set_iterator;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">using </span>value_type = <span class="keyword">typename</span> It::value_type::second_type;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">using </span>pointer = <span class="keyword">const</span> value_type *;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">using </span>reference = <span class="keyword">const</span> value_type &amp;;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">using </span>difference_type = std::ptrdiff_t;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">using </span>iterator_category = std::random_access_iterator_tag;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">constexpr</span> dense_set_iterator() noexcept</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> : it{} {}</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">constexpr</span> dense_set_iterator(<span class="keyword">const</span> It iter) noexcept</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> : it{iter} {}</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other, <span class="keyword">typename</span> = std::enable_if_t&lt;!std::is_same_v&lt;It, Other&gt; &amp;&amp; std::is_constructible_v&lt;It, Other&gt;&gt;&gt;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">constexpr</span> dense_set_iterator(<span class="keyword">const</span> dense_set_iterator&lt;Other&gt; &amp;other) noexcept</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> : it{other.it} {}</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">constexpr</span> dense_set_iterator &amp;operator++() noexcept {</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">return</span> ++it, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> }</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">constexpr</span> dense_set_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> dense_set_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">return</span> ++(*this), orig;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> }</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">constexpr</span> dense_set_iterator &amp;operator--() noexcept {</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">return</span> --it, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> }</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">constexpr</span> dense_set_iterator operator--(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> dense_set_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordflow">return</span> operator--(), orig;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> }</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">constexpr</span> dense_set_iterator &amp;operator+=(<span class="keyword">const</span> difference_type value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> it += value;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">constexpr</span> dense_set_iterator <a class="code hl_function" href="namespaceentt.html#ab36ceb26049f62c07817a385e35395f6">operator+</a>(<span class="keyword">const</span> difference_type value) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> dense_set_iterator copy = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">return</span> (copy += value);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> }</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">constexpr</span> dense_set_iterator &amp;operator-=(<span class="keyword">const</span> difference_type value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keywordflow">return</span> (*<span class="keyword">this</span> += -value);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">constexpr</span> dense_set_iterator operator-(<span class="keyword">const</span> difference_type value) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordflow">return</span> (*<span class="keyword">this</span> + -value);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> }</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator[](<span class="keyword">const</span> difference_type value) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">return</span> it[value].second;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> }</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> [[nodiscard]] <span class="keyword">constexpr</span> pointer operator-&gt;() const noexcept {</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">return</span> std::addressof(<span class="keyword">operator</span>[](0));</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> }</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator*() const noexcept {</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> operator[](0);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> }</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">friend</span> <span class="keyword">constexpr</span> std::ptrdiff_t operator-(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">friend</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#af7c61951b721a1e3612cf536bd707501">operator==</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">friend</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#aa88e297d57dd5547afcde8dd291c4b8f">operator&lt;</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> It it;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span>};</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span>[[nodiscard]] <span class="keyword">constexpr</span> std::ptrdiff_t operator-(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordflow">return</span> lhs.it - rhs.it;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span>}</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#af7c61951b721a1e3612cf536bd707501">operator==</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">return</span> lhs.it == rhs.it;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span>}</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#ad9accc71a383509ada028f7fa2b767bf">operator!=</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">return</span> !(lhs == rhs);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span>}</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#aa88e297d57dd5547afcde8dd291c4b8f">operator&lt;</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">return</span> lhs.it &lt; rhs.it;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span>}</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#aec8131af000055ceab85646c14f234ad">operator&gt;</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordflow">return</span> rhs &lt; lhs;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span>}</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#a8c763e890bb00479a6a6aeae3b2a75f0">operator&lt;=</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">return</span> !(lhs &gt; rhs);</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span>}</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#adadb88dfb4278df554e7ffec5361ece4">operator&gt;=</a>(<span class="keyword">const</span> dense_set_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">return</span> !(lhs &lt; rhs);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span>}</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="keyword">class </span>dense_set_local_iterator final {</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <span class="keyword">friend</span> <span class="keyword">class </span>dense_set_local_iterator;</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">using </span>value_type = <span class="keyword">typename</span> It::value_type::second_type;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">using </span>pointer = <span class="keyword">const</span> value_type *;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keyword">using </span>reference = <span class="keyword">const</span> value_type &amp;;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">using </span>difference_type = std::ptrdiff_t;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keyword">using </span>iterator_category = std::forward_iterator_tag;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">constexpr</span> dense_set_local_iterator() noexcept</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> : it{},</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> offset{} {}</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">constexpr</span> dense_set_local_iterator(It iter, <span class="keyword">const</span> std::size_t pos) noexcept</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> : it{iter},</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> offset{pos} {}</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other, <span class="keyword">typename</span> = std::enable_if_t&lt;!std::is_same_v&lt;It, Other&gt; &amp;&amp; std::is_constructible_v&lt;It, Other&gt;&gt;&gt;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keyword">constexpr</span> dense_set_local_iterator(<span class="keyword">const</span> dense_set_local_iterator&lt;Other&gt; &amp;other) noexcept</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> : it{other.it},</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> offset{other.offset} {}</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keyword">constexpr</span> dense_set_local_iterator &amp;operator++() noexcept {</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">return</span> offset = it[offset].first, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> }</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">constexpr</span> dense_set_local_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> dense_set_local_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> ++(*this), orig;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> }</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> [[nodiscard]] <span class="keyword">constexpr</span> pointer operator-&gt;() const noexcept {</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <span class="keywordflow">return</span> std::addressof(it[offset].second);</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> }</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator*() const noexcept {</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keywordflow">return</span> *operator-&gt;();</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> }</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> [[nodiscard]] <span class="keyword">constexpr</span> std::size_t index() const noexcept {</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordflow">return</span> offset;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> }</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> It it;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> std::size_t offset;</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span>};</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#af7c61951b721a1e3612cf536bd707501">operator==</a>(<span class="keyword">const</span> dense_set_local_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_local_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keywordflow">return</span> lhs.index() == rhs.index();</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span>}</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#ad9accc71a383509ada028f7fa2b767bf">operator!=</a>(<span class="keyword">const</span> dense_set_local_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_set_local_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordflow">return</span> !(lhs == rhs);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span>}</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span>} <span class="comment">// namespace internal</span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span> Hash, <span class="keyword">typename</span> KeyEqual, <span class="keyword">typename</span> Allocator&gt;</div>
<div class="foldopen" id="foldopen00220" data-start="{" data-end="};">
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html"> 220</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> {</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">float</span> default_threshold = 0.875f;</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> std::size_t minimum_capacity = 8u;</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keyword">using </span>node_type = std::pair&lt;std::size_t, Type&gt;;</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits&lt;Allocator&gt;;</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="keyword">static_assert</span>(std::is_same_v&lt;typename alloc_traits::value_type, Type&gt;, <span class="stringliteral">&quot;Invalid value type&quot;</span>);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">using </span>sparse_container_type = std::vector&lt;std::size_t, typename alloc_traits::template rebind_alloc&lt;std::size_t&gt;&gt;;</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="keyword">using </span>packed_container_type = std::vector&lt;node_type, typename alloc_traits::template rebind_alloc&lt;node_type&gt;&gt;;</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::size_t value_to_bucket(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceentt.html#a1ae98eeee0b0cb3e94d97d08a74a06f0">fast_mod</a>(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a><span class="keyword">&gt;</span>(sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>()(value)), <a class="code hl_function" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">bucket_count</a>());</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> }</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> </div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">auto</span> constrained_find(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value, std::size_t <a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>) {</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>(<a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>), last = <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>(<a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != last; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>) {</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="keywordflow">if</span>(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>()(*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, value)) {</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>() + <span class="keyword">static_cast&lt;</span><a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">typename</a> iterator::difference_type<span class="keyword">&gt;</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>.index());</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> }</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> }</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>();</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> }</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">auto</span> constrained_find(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value, std::size_t <a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>(<a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>), last = <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>(<a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != last; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>) {</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> <span class="keywordflow">if</span>(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>()(*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, value)) {</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>() + <span class="keyword">static_cast&lt;</span><a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">typename</a> iterator::difference_type<span class="keyword">&gt;</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>.index());</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> }</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> }</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>();</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> }</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">auto</span> insert_or_do_nothing(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = value_to_bucket(value);</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="keywordflow">if</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = constrained_find(value, index); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>()) {</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> <span class="keywordflow">return</span> std::make_pair(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> }</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().emplace_back(sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index], std::forward&lt;Other&gt;(value));</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index] = packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().size() - 1u;</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> rehash_if_required();</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keywordflow">return</span> std::make_pair(--<a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>(), <span class="keyword">true</span>);</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> }</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> <span class="keywordtype">void</span> move_and_pop(<span class="keyword">const</span> std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>) {</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <span class="keywordflow">if</span>(<span class="keyword">const</span> <span class="keyword">auto</span> last = <a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>() - 1u; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> != last) {</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = &amp;sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[value_to_bucket(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().back().second)];</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>] = std::move(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().back());</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <span class="keywordflow">for</span>(; *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> != last; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = &amp;packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>].first) {}</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>;</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> }</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> </div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().pop_back();</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> }</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> </div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <span class="keywordtype">void</span> rehash_if_required() {</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>() &gt; (<a class="code hl_function" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">bucket_count</a>() * <a class="code hl_function" href="classentt_1_1dense__set.html#aeb02fd08b390059b8c1cffc39a6f40f1">max_load_factor</a>())) {</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">rehash</a>(<a class="code hl_function" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">bucket_count</a>() * 2u);</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> }</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> }</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> </div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2"> 291</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> = Allocator;</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a404f1b7ec2ba2fe41d72f4deacf3ed3f"> 293</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a404f1b7ec2ba2fe41d72f4deacf3ed3f">key_type</a> = Type;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829"> 295</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> = Type;</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0"> 297</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> = std::size_t;</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e"> 299</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Hash</a>;</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39"> 301</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">KeyEqual</a>;</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3"> 303</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">iterator</a> = internal::dense_set_iterator&lt;typename packed_container_type::iterator&gt;;</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943"> 305</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> = internal::dense_set_iterator&lt;typename packed_container_type::const_iterator&gt;;</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a8b91ff4841d5fc46d02544d71825822a"> 307</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a8b91ff4841d5fc46d02544d71825822a">reverse_iterator</a> = std::reverse_iterator&lt;iterator&gt;;</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6"> 309</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6">const_reverse_iterator</a> = std::reverse_iterator&lt;const_iterator&gt;;</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a83489efab7359c9c31d910844d96faa5"> 311</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a83489efab7359c9c31d910844d96faa5">local_iterator</a> = internal::dense_set_local_iterator&lt;typename packed_container_type::iterator&gt;;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496"> 313</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496">const_local_iterator</a> = internal::dense_set_local_iterator&lt;typename packed_container_type::const_iterator&gt;;</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> </div>
<div class="foldopen" id="foldopen00316" data-start="{" data-end="}">
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#acb2185a8bef7bb0e248a61605c3b0bca"> 316</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#acb2185a8bef7bb0e248a61605c3b0bca">dense_set</a>()</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> : <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a>{minimum_capacity} {}</div>
</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> </div>
<div class="foldopen" id="foldopen00323" data-start="{" data-end="}">
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ac6e88655aa8ad10f1abec3f096c64161"> 323</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ac6e88655aa8ad10f1abec3f096c64161">dense_set</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> : <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a>{minimum_capacity, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a>{}, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a>{}, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> </div>
<div class="foldopen" id="foldopen00332" data-start="{" data-end="}">
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a7f5c5416bd4134d1709a13073f3682bc"> 332</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a7f5c5416bd4134d1709a13073f3682bc">dense_set</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> : <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a>{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a>{}, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a>{}, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> </div>
<div class="foldopen" id="foldopen00342" data-start="{" data-end="}">
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a6b6ebde571ce025b298aa580b2b77e5b"> 342</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a6b6ebde571ce025b298aa580b2b77e5b">dense_set</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a> &amp;hash, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> : <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a>{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, hash, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a>{}, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> </div>
<div class="foldopen" id="foldopen00353" data-start="{" data-end="}">
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ad29198f1dc4accffa9fc9859af956df3"> 353</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ad29198f1dc4accffa9fc9859af956df3">dense_set</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a> &amp;hash = <a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a>{}, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">equal</a> = <a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a>{}, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a> = <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a>{})</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> : sparse{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, hash},</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> packed{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">equal</a>} {</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">rehash</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>);</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> }</div>
</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#aa84caa4b8ea63cc40d7c96158a35760f"> 360</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#aa84caa4b8ea63cc40d7c96158a35760f">dense_set</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> </div>
<div class="foldopen" id="foldopen00367" data-start="{" data-end="}">
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a68b3b28b433da48bece9ff3abf1d476e"> 367</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a68b3b28b433da48bece9ff3abf1d476e">dense_set</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> : sparse{std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">piecewise_construct</a>, std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">forward_as_tuple</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sparse.first(), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>), std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">forward_as_tuple</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sparse.second())},</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> packed{std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">piecewise_construct</a>, std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">forward_as_tuple</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.packed.first(), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>), std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">forward_as_tuple</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.packed.second())},</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> threshold{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.threshold} {}</div>
</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> </div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ab2a4eef9bb92ac32b118c155e643795e"> 373</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#ab2a4eef9bb92ac32b118c155e643795e">dense_set</a>(<a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;&amp;) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">default</a>;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> </div>
<div class="foldopen" id="foldopen00380" data-start="{" data-end="}">
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ada9ee844d6f84e1670da4088f0e38361"> 380</a></span> <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a>(<a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> : sparse{std::piecewise_construct, std::forward_as_tuple(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sparse.first()), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>), std::forward_as_tuple(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sparse.second()))},</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> packed{std::piecewise_construct, std::forward_as_tuple(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.packed.first()), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>), std::forward_as_tuple(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.packed.second()))},</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> threshold{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.threshold} {}</div>
</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> </div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a878bf99193783308b365997219a34cbf"> 386</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a878bf99193783308b365997219a34cbf">~dense_set</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> </div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ad26d7ce37fefc322767d3df9a2c83da6"> 392</a></span> <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;<a class="code hl_function" href="classentt_1_1dense__set.html#ad26d7ce37fefc322767d3df9a2c83da6">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a49d41accce8880851a66504317b2690c"> 398</a></span> <a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;<a class="code hl_function" href="classentt_1_1dense__set.html#a49d41accce8880851a66504317b2690c">operator=</a>(<a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;&amp;) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">default</a>;</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> </div>
<div class="foldopen" id="foldopen00404" data-start="{" data-end="}">
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ae130fd3c8ef0c3899ac2ba45fb6a1965"> 404</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">constexpr</a> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">allocator_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ae130fd3c8ef0c3899ac2ba45fb6a1965">get_allocator</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> <span class="keywordflow">return</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().get_allocator();</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> }</div>
</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> </div>
<div class="foldopen" id="foldopen00415" data-start="{" data-end="}">
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba"> 415</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin();</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> }</div>
</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> </div>
<div class="foldopen" id="foldopen00420" data-start="{" data-end="}">
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb"> 420</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>();</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> }</div>
</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> </div>
<div class="foldopen" id="foldopen00425" data-start="{" data-end="}">
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#aff5d31abe96f4a71dd5d661e7f4feae1"> 425</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#aff5d31abe96f4a71dd5d661e7f4feae1">begin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin();</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> }</div>
</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> </div>
<div class="foldopen" id="foldopen00434" data-start="{" data-end="}">
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee"> 434</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().end();</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> }</div>
</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> </div>
<div class="foldopen" id="foldopen00439" data-start="{" data-end="}">
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d"> 439</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>();</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> }</div>
</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> </div>
<div class="foldopen" id="foldopen00444" data-start="{" data-end="}">
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a9969d69b8cd34bffe4fc0f0be83d16fa"> 444</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a9969d69b8cd34bffe4fc0f0be83d16fa">end</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().end();</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span> }</div>
</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> </div>
<div class="foldopen" id="foldopen00455" data-start="{" data-end="}">
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a0ecb4af728c919ff111a03cf79bc4dd3"> 455</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a0ecb4af728c919ff111a03cf79bc4dd3">crbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>());</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> }</div>
</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> </div>
<div class="foldopen" id="foldopen00460" data-start="{" data-end="}">
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ac979c28743c3adbda7405b8603116631"> 460</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ac979c28743c3adbda7405b8603116631">rbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a0ecb4af728c919ff111a03cf79bc4dd3">crbegin</a>();</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> }</div>
</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> </div>
<div class="foldopen" id="foldopen00465" data-start="{" data-end="}">
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a38daeb37b2315869173227374e16ca0d"> 465</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8b91ff4841d5fc46d02544d71825822a">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a38daeb37b2315869173227374e16ca0d">rbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>());</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> }</div>
</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> </div>
<div class="foldopen" id="foldopen00474" data-start="{" data-end="}">
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ade757a21f4fc8d6db7bc594ad8157a59"> 474</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ade757a21f4fc8d6db7bc594ad8157a59">crend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>());</div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span> }</div>
</div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> </div>
<div class="foldopen" id="foldopen00479" data-start="{" data-end="}">
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a77c4ca141381ddc6c09fd1ef2b594509"> 479</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a77c4ca141381ddc6c09fd1ef2b594509">rend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade757a21f4fc8d6db7bc594ad8157a59">crend</a>();</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> }</div>
</div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> </div>
<div class="foldopen" id="foldopen00484" data-start="{" data-end="}">
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ae8c26808f90a31003009127bce24f346"> 484</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a8b91ff4841d5fc46d02544d71825822a">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ae8c26808f90a31003009127bce24f346">rend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"> 485</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>());</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"> 486</span> }</div>
</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"> 487</span> </div>
<div class="foldopen" id="foldopen00492" data-start="{" data-end="}">
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a6a6ca36a20f2ad2af73161eb71c5aba2"> 492</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a6a6ca36a20f2ad2af73161eb71c5aba2">empty</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().empty();</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> }</div>
</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> </div>
<div class="foldopen" id="foldopen00500" data-start="{" data-end="}">
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178"> 500</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().size();</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> }</div>
</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> </div>
<div class="foldopen" id="foldopen00508" data-start="{" data-end="}">
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a4c6b94ce7998769b18635a11a7c044de"> 508</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a4c6b94ce7998769b18635a11a7c044de">max_size</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().max_size();</div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span> }</div>
</div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> </div>
<div class="foldopen" id="foldopen00513" data-start="{" data-end="}">
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a00f6e4f5dd97cbf86554ec14799d2865"> 513</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a00f6e4f5dd97cbf86554ec14799d2865">clear</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().clear();</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().clear();</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">rehash</a>(0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>);</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> }</div>
</div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span> </div>
<div class="foldopen" id="foldopen00526" data-start="{" data-end="}">
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a818d80686b709f02cec08f5fc082e279"> 526</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__set.html#a818d80686b709f02cec08f5fc082e279">insert</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value) {</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span> <span class="keywordflow">return</span> insert_or_do_nothing(value);</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> }</div>
</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> </div>
<div class="foldopen" id="foldopen00531" data-start="{" data-end="}">
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ac1c11ba7070fd958ada9dab7b9106ec6"> 531</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__set.html#ac1c11ba7070fd958ada9dab7b9106ec6">insert</a>(<a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> <span class="keywordflow">return</span> insert_or_do_nothing(std::move(value));</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> }</div>
</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span> </div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="foldopen" id="foldopen00542" data-start="{" data-end="}">
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ae52c7f8b38e6bfc15e421fcc8021ba15"> 542</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ae52c7f8b38e6bfc15e421fcc8021ba15">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a> first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a> last) {</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a818d80686b709f02cec08f5fc082e279">insert</a>(*first);</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> }</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> }</div>
</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> </div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>&gt;</div>
<div class="foldopen" id="foldopen00562" data-start="{" data-end="}">
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a47d3197d0c31a680cb7d9379f8a3c3d3"> 562</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__set.html#a47d3197d0c31a680cb7d9379f8a3c3d3">emplace</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &amp;&amp;...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) {</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(((<span class="keyword">sizeof</span>...(Args) == 1u) &amp;&amp; ... &amp;&amp; std::is_same_v&lt;std::decay_t&lt;Args&gt;, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a>&gt;)) {</div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> <span class="keywordflow">return</span> insert_or_do_nothing(std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> <span class="keyword">auto</span> &amp;node = packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().emplace_back(std::piecewise_construct, std::make_tuple(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().size()), std::forward_as_tuple(std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...));</div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = value_to_bucket(node.second);</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> </div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> <span class="keywordflow">if</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = constrained_find(node.second, index); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>()) {</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().pop_back();</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> <span class="keywordflow">return</span> std::make_pair(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"> 572</span> }</div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"> 573</span> </div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"> 574</span> std::swap(node.first, sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index]);</div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"> 575</span> rehash_if_required();</div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span> </div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span> <span class="keywordflow">return</span> std::make_pair(--<a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>(), <span class="keyword">true</span>);</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> }</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span> }</div>
</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"> 580</span> </div>
<div class="foldopen" id="foldopen00586" data-start="{" data-end="}">
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ad4ada548c135e15f963efcbdac476e1b"> 586</a></span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ad4ada548c135e15f963efcbdac476e1b">erase</a>(<a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>) {</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">diff</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> - <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>();</div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ad4ada548c135e15f963efcbdac476e1b">erase</a>(*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>);</div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>() + <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">diff</a>;</div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span> }</div>
</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> </div>
<div class="foldopen" id="foldopen00598" data-start="{" data-end="}">
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a2c82fe5721d008445d6bb9af2448cbcd"> 598</a></span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a2c82fe5721d008445d6bb9af2448cbcd">erase</a>(<a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> first, <a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> last) {</div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">dist</a> = first - <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>();</div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"> 600</span> </div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a> = last - <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>(); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a> != <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">dist</a>; --<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>) {</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ad4ada548c135e15f963efcbdac476e1b">erase</a>(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a> - 1u].second);</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> }</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> </div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>() + <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">dist</a>);</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> }</div>
</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> </div>
<div class="foldopen" id="foldopen00613" data-start="{" data-end="}">
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#abe614f630f49556a49f65c7ed3e1183a"> 613</a></span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#abe614f630f49556a49f65c7ed3e1183a">erase</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value) {</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span> <span class="keywordflow">for</span>(<a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = &amp;sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[value_to_bucket(value)]; *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> != (std::numeric_limits&lt;size_type&gt;::max)(); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = &amp;packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>].first) {</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"> 615</span> <span class="keywordflow">if</span>(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>()(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>].second, value)) {</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>;</div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</span> *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[*<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>].first;</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> move_and_pop(index);</div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"> 619</span> <span class="keywordflow">return</span> 1u;</div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"> 620</span> }</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> }</div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span> </div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span> <span class="keywordflow">return</span> 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>;</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> }</div>
</div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"> 625</span> </div>
<div class="foldopen" id="foldopen00630" data-start="{" data-end="}">
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ab1199b43ef81b1fab9d52a0c1275dd56"> 630</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ab1199b43ef81b1fab9d52a0c1275dd56">swap</a>(<a class="code hl_class" href="classentt_1_1dense__set.html">dense_set</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"> 631</span> <span class="keyword">using </span>std::swap;</div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"> 632</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ab1199b43ef81b1fab9d52a0c1275dd56">swap</a>(sparse, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sparse);</div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"> 633</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ab1199b43ef81b1fab9d52a0c1275dd56">swap</a>(packed, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.packed);</div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ab1199b43ef81b1fab9d52a0c1275dd56">swap</a>(threshold, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.threshold);</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span> }</div>
</div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"> 636</span> </div>
<div class="foldopen" id="foldopen00642" data-start="{" data-end="}">
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a8d3596e86387eb57317a565f23b3d7b9"> 642</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a8d3596e86387eb57317a565f23b3d7b9">count</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) != <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>();</div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span> }</div>
</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> </div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"> 652</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::enable_if_t&lt;is_transparent_v&lt;hasher&gt; &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_transparent_v&lt;key_equal&gt;</a>, std::conditional_t&lt;false, Other, size_type&gt;&gt;</div>
<div class="foldopen" id="foldopen00654" data-start="{" data-end="}">
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ae07fa72742e52a2a2823252487af5263"> 654</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#ae07fa72742e52a2a2823252487af5263">count</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) != <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>();</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span> }</div>
</div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span> </div>
<div class="foldopen" id="foldopen00664" data-start="{" data-end="}">
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44"> 664</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value) {</div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span> <span class="keywordflow">return</span> constrained_find(value, value_to_bucket(value));</div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span> }</div>
</div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span> </div>
<div class="foldopen" id="foldopen00669" data-start="{" data-end="}">
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a6e8732dc86fd8f04f585deebb0b39ad5"> 669</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a6e8732dc86fd8f04f585deebb0b39ad5">find</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> <span class="keywordflow">return</span> constrained_find(value, value_to_bucket(value));</div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> }</div>
</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> </div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::enable_if_t&lt;is_transparent_v&lt;hasher&gt; &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_transparent_v&lt;key_equal&gt;</a>, std::conditional_t&lt;false, Other, iterator&gt;&gt;</div>
<div class="foldopen" id="foldopen00682" data-start="{" data-end="}">
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ad75a164225ececfa173b230e587b46c6"> 682</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#ad75a164225ececfa173b230e587b46c6">find</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value) {</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> <span class="keywordflow">return</span> constrained_find(value, value_to_bucket(value));</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> }</div>
</div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span> </div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::enable_if_t&lt;is_transparent_v&lt;hasher&gt; &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_transparent_v&lt;key_equal&gt;</a>, std::conditional_t&lt;false, Other, const_iterator&gt;&gt;</div>
<div class="foldopen" id="foldopen00689" data-start="{" data-end="}">
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a9ef9e51dc8219cfd2427a7594ff4bf65"> 689</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a9ef9e51dc8219cfd2427a7594ff4bf65">find</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span> <span class="keywordflow">return</span> constrained_find(value, value_to_bucket(value));</div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> }</div>
</div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span> </div>
<div class="foldopen" id="foldopen00699" data-start="{" data-end="}">
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a5a20617f3bdbf845f746856efbbb99ef"> 699</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::pair&lt;iterator, iterator&gt; <a class="code hl_function" href="classentt_1_1dense__set.html#a5a20617f3bdbf845f746856efbbb99ef">equal_range</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value) {</div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"> 700</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(value);</div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno"> 701</span> <span class="keywordflow">return</span> {<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> + !(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> == <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>())};</div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"> 702</span> }</div>
</div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"> 703</span> </div>
<div class="foldopen" id="foldopen00705" data-start="{" data-end="}">
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#af11a86dfc5bd93593a947522fa70bc13"> 705</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::pair&lt;const_iterator, const_iterator&gt; <a class="code hl_function" href="classentt_1_1dense__set.html#af11a86dfc5bd93593a947522fa70bc13">equal_range</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno"> 706</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(value);</div>
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno"> 707</span> <span class="keywordflow">return</span> {<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> + !(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> == <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>())};</div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno"> 708</span> }</div>
</div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno"> 709</span> </div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::enable_if_t&lt;is_transparent_v&lt;hasher&gt; &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_transparent_v&lt;key_equal&gt;</a>, std::conditional_t&lt;false, Other, std::pair&lt;iterator, iterator&gt;&gt;&gt;</div>
<div class="foldopen" id="foldopen00720" data-start="{" data-end="}">
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a6207a4c30c9dbc48ebd45f139114144e"> 720</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a6207a4c30c9dbc48ebd45f139114144e">equal_range</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value) {</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(value);</div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span> <span class="keywordflow">return</span> {<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> + !(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> == <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>())};</div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"> 723</span> }</div>
</div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span> </div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"> 726</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"> 727</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::enable_if_t&lt;is_transparent_v&lt;hasher&gt; &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_transparent_v&lt;key_equal&gt;</a>, std::conditional_t&lt;false, Other, std::pair&lt;const_iterator, const_iterator&gt;&gt;&gt;</div>
<div class="foldopen" id="foldopen00728" data-start="{" data-end="}">
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#aec681fa3aabf02aaf7666123946817b8"> 728</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#aec681fa3aabf02aaf7666123946817b8">equal_range</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"> 729</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = <a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(value);</div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"> 730</span> <span class="keywordflow">return</span> {<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> + !(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> == <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>())};</div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"> 731</span> }</div>
</div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno"> 732</span> </div>
<div class="foldopen" id="foldopen00738" data-start="{" data-end="}">
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#afd77a2703fb72d17f382f5cb1aeb24b2"> 738</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1dense__set.html#afd77a2703fb72d17f382f5cb1aeb24b2">contains</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"> 739</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(value) != <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>());</div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"> 740</span> }</div>
</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno"> 741</span> </div>
<div class="line"><a id="l00749" name="l00749"></a><span class="lineno"> 749</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno"> 750</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::enable_if_t&lt;is_transparent_v&lt;hasher&gt; &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_transparent_v&lt;key_equal&gt;</a>, std::conditional_t&lt;false, Other, bool&gt;&gt;</div>
<div class="foldopen" id="foldopen00751" data-start="{" data-end="}">
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a2f15a3c269ae641901904a3806ee128a"> 751</a></span> <a class="code hl_function" href="classentt_1_1dense__set.html#a2f15a3c269ae641901904a3806ee128a">contains</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno"> 752</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">find</a>(value) != <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>());</div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno"> 753</span> }</div>
</div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"> 754</span> </div>
<div class="foldopen" id="foldopen00760" data-start="{" data-end="}">
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#af66d225983e161e2f5b6bcd839dd295e"> 760</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#af66d225983e161e2f5b6bcd839dd295e">cbegin</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"> 761</span> <span class="keywordflow">return</span> {packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin(), sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index]};</div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"> 762</span> }</div>
</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"> 763</span> </div>
<div class="foldopen" id="foldopen00769" data-start="{" data-end="}">
<div class="line"><a id="l00769" name="l00769"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#af40a2a303dddc229bce36516d18921d5"> 769</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#af40a2a303dddc229bce36516d18921d5">begin</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"> 770</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">cbegin</a>(index);</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"> 771</span> }</div>
</div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno"> 772</span> </div>
<div class="foldopen" id="foldopen00778" data-start="{" data-end="}">
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#af5dfa9caba33563b1678e85d2774609c"> 778</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a83489efab7359c9c31d910844d96faa5">local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#af5dfa9caba33563b1678e85d2774609c">begin</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index) {</div>
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"> 779</span> <span class="keywordflow">return</span> {packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin(), sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index]};</div>
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno"> 780</span> }</div>
</div>
<div class="line"><a id="l00781" name="l00781"></a><span class="lineno"> 781</span> </div>
<div class="foldopen" id="foldopen00787" data-start="{" data-end="}">
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a8b88d43b273bf11855fe1df801f3a27c"> 787</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a8b88d43b273bf11855fe1df801f3a27c">cend</a>([[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"> 788</span> <span class="keywordflow">return</span> {packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin(), (std::numeric_limits&lt;size_type&gt;::max)()};</div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"> 789</span> }</div>
</div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"> 790</span> </div>
<div class="foldopen" id="foldopen00796" data-start="{" data-end="}">
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ab5fa4899ccdf38b575c7467da213ffa4"> 796</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ab5fa4899ccdf38b575c7467da213ffa4">end</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"> 797</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">cend</a>(index);</div>
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno"> 798</span> }</div>
</div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno"> 799</span> </div>
<div class="foldopen" id="foldopen00805" data-start="{" data-end="}">
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a64228ede854cfd6b98665e98ba724542"> 805</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a83489efab7359c9c31d910844d96faa5">local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a64228ede854cfd6b98665e98ba724542">end</a>([[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index) {</div>
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"> 806</span> <span class="keywordflow">return</span> {packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin(), (std::numeric_limits&lt;size_type&gt;::max)()};</div>
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno"> 807</span> }</div>
</div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"> 808</span> </div>
<div class="foldopen" id="foldopen00813" data-start="{" data-end="}">
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4"> 813</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">bucket_count</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</span> <span class="keywordflow">return</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().size();</div>
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno"> 815</span> }</div>
</div>
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno"> 816</span> </div>
<div class="foldopen" id="foldopen00821" data-start="{" data-end="}">
<div class="line"><a id="l00821" name="l00821"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ac3410a73c0331657be2da1c8f0855949"> 821</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#ac3410a73c0331657be2da1c8f0855949">max_bucket_count</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"> 822</span> <span class="keywordflow">return</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().max_size();</div>
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno"> 823</span> }</div>
</div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno"> 824</span> </div>
<div class="foldopen" id="foldopen00830" data-start="{" data-end="}">
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a001d564dcf11933f59592f15709830d0"> 830</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a001d564dcf11933f59592f15709830d0">bucket_size</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno"> 831</span> <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a><span class="keyword">&gt;</span>(std::distance(<a class="code hl_function" href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">begin</a>(index), <a class="code hl_function" href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">end</a>(index)));</div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno"> 832</span> }</div>
</div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"> 833</span> </div>
<div class="foldopen" id="foldopen00839" data-start="{" data-end="}">
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a"> 839</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">bucket</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">value_type</a> &amp;value)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00840" name="l00840"></a><span class="lineno"> 840</span> <span class="keywordflow">return</span> value_to_bucket(value);</div>
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno"> 841</span> }</div>
</div>
<div class="line"><a id="l00842" name="l00842"></a><span class="lineno"> 842</span> </div>
<div class="foldopen" id="foldopen00847" data-start="{" data-end="}">
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#abceb56d6788f953e79b6d6924bfcbfe2"> 847</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keywordtype">float</span> <a class="code hl_function" href="classentt_1_1dense__set.html#abceb56d6788f953e79b6d6924bfcbfe2">load_factor</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno"> 848</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>() / <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span>(<a class="code hl_function" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">bucket_count</a>());</div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno"> 849</span> }</div>
</div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno"> 850</span> </div>
<div class="foldopen" id="foldopen00855" data-start="{" data-end="}">
<div class="line"><a id="l00855" name="l00855"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#aeb02fd08b390059b8c1cffc39a6f40f1"> 855</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keywordtype">float</span> <a class="code hl_function" href="classentt_1_1dense__set.html#aeb02fd08b390059b8c1cffc39a6f40f1">max_load_factor</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"> 856</span> <span class="keywordflow">return</span> threshold;</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"> 857</span> }</div>
</div>
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno"> 858</span> </div>
<div class="foldopen" id="foldopen00863" data-start="{" data-end="}">
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ab740b6ce89b700657c796b7388563569"> 863</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ab740b6ce89b700657c796b7388563569">max_load_factor</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> value) {</div>
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno"> 864</span> ENTT_ASSERT(value &gt; 0.f, <span class="stringliteral">&quot;Invalid load factor&quot;</span>);</div>
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno"> 865</span> threshold = value;</div>
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno"> 866</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">rehash</a>(0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>);</div>
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"> 867</span> }</div>
</div>
<div class="line"><a id="l00868" name="l00868"></a><span class="lineno"> 868</span> </div>
<div class="foldopen" id="foldopen00874" data-start="{" data-end="}">
<div class="line"><a id="l00874" name="l00874"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376"> 874</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">rehash</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>) {</div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno"> 875</span> <span class="keyword">auto</span> value = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a> &gt; minimum_capacity ? <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a> : minimum_capacity;</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno"> 876</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a> = <span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a><span class="keyword">&gt;</span>(<a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>() / <a class="code hl_function" href="classentt_1_1dense__set.html#aeb02fd08b390059b8c1cffc39a6f40f1">max_load_factor</a>());</div>
<div class="line"><a id="l00877" name="l00877"></a><span class="lineno"> 877</span> value = value &gt; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a> ? value : <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a>;</div>
<div class="line"><a id="l00878" name="l00878"></a><span class="lineno"> 878</span> </div>
<div class="line"><a id="l00879" name="l00879"></a><span class="lineno"> 879</span> <span class="keywordflow">if</span>(<span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a> = <a class="code hl_function" href="namespaceentt.html#a8f6fb41a1c8c0c5968bfca369e51a73e">next_power_of_two</a>(value); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a> != <a class="code hl_function" href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">bucket_count</a>()) {</div>
<div class="line"><a id="l00880" name="l00880"></a><span class="lineno"> 880</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().resize(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a>);</div>
<div class="line"><a id="l00881" name="l00881"></a><span class="lineno"> 881</span> </div>
<div class="line"><a id="l00882" name="l00882"></a><span class="lineno"> 882</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>: sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()) {</div>
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno"> 883</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a> = (std::numeric_limits&lt;size_type&gt;::max)();</div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno"> 884</span> }</div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno"> 885</span> </div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno"> 886</span> <span class="keywordflow">for</span>(<a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>{}, last = <a class="code hl_function" href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">size</a>(); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> &lt; last; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>) {</div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno"> 887</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = value_to_bucket(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>].second);</div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno"> 888</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>].first = std::exchange(sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index], <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>);</div>
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"> 889</span> }</div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"> 890</span> }</div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"> 891</span> }</div>
</div>
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno"> 892</span> </div>
<div class="foldopen" id="foldopen00898" data-start="{" data-end="}">
<div class="line"><a id="l00898" name="l00898"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a899d206bbac4c0fe88f16a4ce2215b4a"> 898</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__set.html#a899d206bbac4c0fe88f16a4ce2215b4a">reserve</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>) {</div>
<div class="line"><a id="l00899" name="l00899"></a><span class="lineno"> 899</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().reserve(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>);</div>
<div class="line"><a id="l00900" name="l00900"></a><span class="lineno"> 900</span> <a class="code hl_function" href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">rehash</a>(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">size_type</a><span class="keyword">&gt;</span>(std::ceil(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a> / <a class="code hl_function" href="classentt_1_1dense__set.html#aeb02fd08b390059b8c1cffc39a6f40f1">max_load_factor</a>())));</div>
<div class="line"><a id="l00901" name="l00901"></a><span class="lineno"> 901</span> }</div>
</div>
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno"> 902</span> </div>
<div class="foldopen" id="foldopen00907" data-start="{" data-end="}">
<div class="line"><a id="l00907" name="l00907"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a7f9a2eaac7725273d76b340f6e46c821"> 907</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">hasher</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a7f9a2eaac7725273d76b340f6e46c821">hash_function</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00908" name="l00908"></a><span class="lineno"> 908</span> <span class="keywordflow">return</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>();</div>
<div class="line"><a id="l00909" name="l00909"></a><span class="lineno"> 909</span> }</div>
</div>
<div class="line"><a id="l00910" name="l00910"></a><span class="lineno"> 910</span> </div>
<div class="foldopen" id="foldopen00915" data-start="{" data-end="}">
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno"><a class="line" href="classentt_1_1dense__set.html#a2520bd4106132dab9a4c71ef8388e186"> 915</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">key_equal</a> <a class="code hl_function" href="classentt_1_1dense__set.html#a2520bd4106132dab9a4c71ef8388e186">key_eq</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno"> 916</span> <span class="keywordflow">return</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>();</div>
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno"> 917</span> }</div>
</div>
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno"> 918</span> </div>
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno"> 919</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"> 920</span> <a class="code hl_class" href="classentt_1_1compressed__pair.html">compressed_pair&lt;sparse_container_type, hasher&gt;</a> sparse;</div>
<div class="line"><a id="l00921" name="l00921"></a><span class="lineno"> 921</span> <a class="code hl_class" href="classentt_1_1compressed__pair.html">compressed_pair&lt;packed_container_type, key_equal&gt;</a> packed;</div>
<div class="line"><a id="l00922" name="l00922"></a><span class="lineno"> 922</span> <span class="keywordtype">float</span> threshold{default_threshold};</div>
<div class="line"><a id="l00923" name="l00923"></a><span class="lineno"> 923</span>};</div>
</div>
<div class="line"><a id="l00924" name="l00924"></a><span class="lineno"> 924</span> </div>
<div class="line"><a id="l00925" name="l00925"></a><span class="lineno"> 925</span>} <span class="comment">// namespace entt</span></div>
<div class="line"><a id="l00926" name="l00926"></a><span class="lineno"> 926</span> </div>
<div class="line"><a id="l00927" name="l00927"></a><span class="lineno"> 927</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassentt_1_1compressed__pair_html"><div class="ttname"><a href="classentt_1_1compressed__pair.html">entt::compressed_pair</a></div><div class="ttdoc">A compressed pair.</div><div class="ttdef"><b>Definition</b> <a href="compressed__pair_8hpp_source.html#l00085">compressed_pair.hpp:87</a></div></div>
<div class="ttc" id="aclassentt_1_1compressed__pair_html_a044cced5ce2cd85f4966814d991a54a7"><div class="ttname"><a href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">entt::compressed_pair::second</a></div><div class="ttdeci">constexpr second_type &amp; second() noexcept</div><div class="ttdoc">Returns the second element that a pair stores.</div><div class="ttdef"><b>Definition</b> <a href="compressed__pair_8hpp_source.html#l00180">compressed_pair.hpp:180</a></div></div>
<div class="ttc" id="aclassentt_1_1compressed__pair_html_a6551d4795fa99d140d5c8eb8e55d9d38"><div class="ttname"><a href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">entt::compressed_pair::first</a></div><div class="ttdeci">constexpr first_type &amp; first() noexcept</div><div class="ttdoc">Returns the first element that a pair stores.</div><div class="ttdef"><b>Definition</b> <a href="compressed__pair_8hpp_source.html#l00167">compressed_pair.hpp:167</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html"><div class="ttname"><a href="classentt_1_1dense__set.html">entt::dense_set</a></div><div class="ttdoc">Associative container for unique objects of a given type.</div><div class="ttdef"><b>Definition</b> <a href="#l00220">dense_set.hpp:220</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a001d564dcf11933f59592f15709830d0"><div class="ttname"><a href="classentt_1_1dense__set.html#a001d564dcf11933f59592f15709830d0">entt::dense_set::bucket_size</a></div><div class="ttdeci">size_type bucket_size(const size_type index) const</div><div class="ttdoc">Returns the number of elements in a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00830">dense_set.hpp:830</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a00f6e4f5dd97cbf86554ec14799d2865"><div class="ttname"><a href="classentt_1_1dense__set.html#a00f6e4f5dd97cbf86554ec14799d2865">entt::dense_set::clear</a></div><div class="ttdeci">void clear() noexcept</div><div class="ttdoc">Clears the container.</div><div class="ttdef"><b>Definition</b> <a href="#l00513">dense_set.hpp:513</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a0be70471e45867b1d18aa9ee57376496"><div class="ttname"><a href="classentt_1_1dense__set.html#a0be70471e45867b1d18aa9ee57376496">entt::dense_set::const_local_iterator</a></div><div class="ttdeci">internal::dense_set_local_iterator&lt; typename packed_container_type::const_iterator &gt; const_local_iterator</div><div class="ttdoc">Constant forward iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00313">dense_set.hpp:313</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a0ecb4af728c919ff111a03cf79bc4dd3"><div class="ttname"><a href="classentt_1_1dense__set.html#a0ecb4af728c919ff111a03cf79bc4dd3">entt::dense_set::crbegin</a></div><div class="ttdeci">const_reverse_iterator crbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00455">dense_set.hpp:455</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a2130895a2b9e794841b3afe3c6f793bb"><div class="ttname"><a href="classentt_1_1dense__set.html#a2130895a2b9e794841b3afe3c6f793bb">entt::dense_set::begin</a></div><div class="ttdeci">const_iterator begin() const noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00420">dense_set.hpp:420</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a2520bd4106132dab9a4c71ef8388e186"><div class="ttname"><a href="classentt_1_1dense__set.html#a2520bd4106132dab9a4c71ef8388e186">entt::dense_set::key_eq</a></div><div class="ttdeci">key_equal key_eq() const</div><div class="ttdoc">Returns the function used to compare elements for equality.</div><div class="ttdef"><b>Definition</b> <a href="#l00915">dense_set.hpp:915</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a266d306cce7016dba8fdbf3790a0cb39"><div class="ttname"><a href="classentt_1_1dense__set.html#a266d306cce7016dba8fdbf3790a0cb39">entt::dense_set::key_equal</a></div><div class="ttdeci">KeyEqual key_equal</div><div class="ttdoc">Type of function to use to compare the elements for equality.</div><div class="ttdef"><b>Definition</b> <a href="#l00301">dense_set.hpp:301</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a271e1e1f94361e8156c6de5a81746943"><div class="ttname"><a href="classentt_1_1dense__set.html#a271e1e1f94361e8156c6de5a81746943">entt::dense_set::const_iterator</a></div><div class="ttdeci">internal::dense_set_iterator&lt; typename packed_container_type::const_iterator &gt; const_iterator</div><div class="ttdoc">Constant random access iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00305">dense_set.hpp:305</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a29506e74715ef7fa560eb4726cff34ee"><div class="ttname"><a href="classentt_1_1dense__set.html#a29506e74715ef7fa560eb4726cff34ee">entt::dense_set::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdoc">Returns an iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00434">dense_set.hpp:434</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a2c82fe5721d008445d6bb9af2448cbcd"><div class="ttname"><a href="classentt_1_1dense__set.html#a2c82fe5721d008445d6bb9af2448cbcd">entt::dense_set::erase</a></div><div class="ttdeci">iterator erase(const_iterator first, const_iterator last)</div><div class="ttdoc">Removes the given elements from a container.</div><div class="ttdef"><b>Definition</b> <a href="#l00598">dense_set.hpp:598</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a2f15a3c269ae641901904a3806ee128a"><div class="ttname"><a href="classentt_1_1dense__set.html#a2f15a3c269ae641901904a3806ee128a">entt::dense_set::contains</a></div><div class="ttdeci">std::enable_if_t&lt; is_transparent_v&lt; hasher &gt; &amp;&amp;is_transparent_v&lt; key_equal &gt;, std::conditional_t&lt; false, Other, bool &gt; &gt; contains(const Other &amp;value) const</div><div class="ttdoc">Checks if the container contains an element that compares equivalent to a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00751">dense_set.hpp:751</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a2fb78f57d6f35f6235468e4aadb2fe0e"><div class="ttname"><a href="classentt_1_1dense__set.html#a2fb78f57d6f35f6235468e4aadb2fe0e">entt::dense_set::hasher</a></div><div class="ttdeci">Hash hasher</div><div class="ttdoc">Type of function to use to hash the elements.</div><div class="ttdef"><b>Definition</b> <a href="#l00299">dense_set.hpp:299</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a3355912feda8db49d87b75247f824ce0"><div class="ttname"><a href="classentt_1_1dense__set.html#a3355912feda8db49d87b75247f824ce0">entt::dense_set::size_type</a></div><div class="ttdeci">std::size_t size_type</div><div class="ttdoc">Unsigned integer type.</div><div class="ttdef"><b>Definition</b> <a href="#l00297">dense_set.hpp:297</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a36a7137bfb36d2ca5026d986710cc05a"><div class="ttname"><a href="classentt_1_1dense__set.html#a36a7137bfb36d2ca5026d986710cc05a">entt::dense_set::bucket</a></div><div class="ttdeci">size_type bucket(const value_type &amp;value) const</div><div class="ttdoc">Returns the bucket for a given element.</div><div class="ttdef"><b>Definition</b> <a href="#l00839">dense_set.hpp:839</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a38daeb37b2315869173227374e16ca0d"><div class="ttname"><a href="classentt_1_1dense__set.html#a38daeb37b2315869173227374e16ca0d">entt::dense_set::rbegin</a></div><div class="ttdeci">reverse_iterator rbegin() noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00465">dense_set.hpp:465</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a3cb64f1ed07507fc9ecbc6f94e582e44"><div class="ttname"><a href="classentt_1_1dense__set.html#a3cb64f1ed07507fc9ecbc6f94e582e44">entt::dense_set::find</a></div><div class="ttdeci">iterator find(const value_type &amp;value)</div><div class="ttdoc">Finds an element with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00664">dense_set.hpp:664</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a404f1b7ec2ba2fe41d72f4deacf3ed3f"><div class="ttname"><a href="classentt_1_1dense__set.html#a404f1b7ec2ba2fe41d72f4deacf3ed3f">entt::dense_set::key_type</a></div><div class="ttdeci">Type key_type</div><div class="ttdoc">Key type of the container.</div><div class="ttdef"><b>Definition</b> <a href="#l00293">dense_set.hpp:293</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a42092d77add471a91a60b0aebd515829"><div class="ttname"><a href="classentt_1_1dense__set.html#a42092d77add471a91a60b0aebd515829">entt::dense_set::value_type</a></div><div class="ttdeci">Type value_type</div><div class="ttdoc">Value type of the container.</div><div class="ttdef"><b>Definition</b> <a href="#l00295">dense_set.hpp:295</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a44f127ff9c4a0fa1c8284f7d072bd5c3"><div class="ttname"><a href="classentt_1_1dense__set.html#a44f127ff9c4a0fa1c8284f7d072bd5c3">entt::dense_set::iterator</a></div><div class="ttdeci">internal::dense_set_iterator&lt; typename packed_container_type::iterator &gt; iterator</div><div class="ttdoc">Random access iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00303">dense_set.hpp:303</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a47d3197d0c31a680cb7d9379f8a3c3d3"><div class="ttname"><a href="classentt_1_1dense__set.html#a47d3197d0c31a680cb7d9379f8a3c3d3">entt::dense_set::emplace</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; emplace(Args &amp;&amp;...args)</div><div class="ttdoc">Constructs an element in-place, if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00562">dense_set.hpp:562</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a49d41accce8880851a66504317b2690c"><div class="ttname"><a href="classentt_1_1dense__set.html#a49d41accce8880851a66504317b2690c">entt::dense_set::operator=</a></div><div class="ttdeci">dense_set &amp; operator=(dense_set &amp;&amp;) noexcept=default</div><div class="ttdoc">Default move assignment operator.</div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a4ad74d3386c317d8aa2f9a2c88f410e4"><div class="ttname"><a href="classentt_1_1dense__set.html#a4ad74d3386c317d8aa2f9a2c88f410e4">entt::dense_set::bucket_count</a></div><div class="ttdeci">size_type bucket_count() const</div><div class="ttdoc">Returns the number of buckets.</div><div class="ttdef"><b>Definition</b> <a href="#l00813">dense_set.hpp:813</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a4c6b94ce7998769b18635a11a7c044de"><div class="ttname"><a href="classentt_1_1dense__set.html#a4c6b94ce7998769b18635a11a7c044de">entt::dense_set::max_size</a></div><div class="ttdeci">size_type max_size() const noexcept</div><div class="ttdoc">Returns the maximum possible number of elements.</div><div class="ttdef"><b>Definition</b> <a href="#l00508">dense_set.hpp:508</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a51a05fcfc23785b7f38bd48b46ebf178"><div class="ttname"><a href="classentt_1_1dense__set.html#a51a05fcfc23785b7f38bd48b46ebf178">entt::dense_set::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of elements in a container.</div><div class="ttdef"><b>Definition</b> <a href="#l00500">dense_set.hpp:500</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a5a20617f3bdbf845f746856efbbb99ef"><div class="ttname"><a href="classentt_1_1dense__set.html#a5a20617f3bdbf845f746856efbbb99ef">entt::dense_set::equal_range</a></div><div class="ttdeci">std::pair&lt; iterator, iterator &gt; equal_range(const value_type &amp;value)</div><div class="ttdoc">Returns a range containing all elements with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00699">dense_set.hpp:699</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a5a9f859755987f8844be29ad84cc37b6"><div class="ttname"><a href="classentt_1_1dense__set.html#a5a9f859755987f8844be29ad84cc37b6">entt::dense_set::const_reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; const_iterator &gt; const_reverse_iterator</div><div class="ttdoc">Constant reverse iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00309">dense_set.hpp:309</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a6207a4c30c9dbc48ebd45f139114144e"><div class="ttname"><a href="classentt_1_1dense__set.html#a6207a4c30c9dbc48ebd45f139114144e">entt::dense_set::equal_range</a></div><div class="ttdeci">std::enable_if_t&lt; is_transparent_v&lt; hasher &gt; &amp;&amp;is_transparent_v&lt; key_equal &gt;, std::conditional_t&lt; false, Other, std::pair&lt; iterator, iterator &gt; &gt; &gt; equal_range(const Other &amp;value)</div><div class="ttdoc">Returns a range containing all elements that compare equivalent to a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00720">dense_set.hpp:720</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a64228ede854cfd6b98665e98ba724542"><div class="ttname"><a href="classentt_1_1dense__set.html#a64228ede854cfd6b98665e98ba724542">entt::dense_set::end</a></div><div class="ttdeci">local_iterator end(const size_type index)</div><div class="ttdoc">Returns an iterator to the end of a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00805">dense_set.hpp:805</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a68b3b28b433da48bece9ff3abf1d476e"><div class="ttname"><a href="classentt_1_1dense__set.html#a68b3b28b433da48bece9ff3abf1d476e">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(const dense_set &amp;other, const allocator_type &amp;allocator)</div><div class="ttdoc">Allocator-extended copy constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00367">dense_set.hpp:367</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a6a6ca36a20f2ad2af73161eb71c5aba2"><div class="ttname"><a href="classentt_1_1dense__set.html#a6a6ca36a20f2ad2af73161eb71c5aba2">entt::dense_set::empty</a></div><div class="ttdeci">bool empty() const noexcept</div><div class="ttdoc">Checks whether a container is empty.</div><div class="ttdef"><b>Definition</b> <a href="#l00492">dense_set.hpp:492</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a6b6ebde571ce025b298aa580b2b77e5b"><div class="ttname"><a href="classentt_1_1dense__set.html#a6b6ebde571ce025b298aa580b2b77e5b">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(const size_type cnt, const hasher &amp;hash, const allocator_type &amp;allocator)</div><div class="ttdoc">Constructs an empty container with a given allocator, hash function and user supplied minimal number ...</div><div class="ttdef"><b>Definition</b> <a href="#l00342">dense_set.hpp:342</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a6e8732dc86fd8f04f585deebb0b39ad5"><div class="ttname"><a href="classentt_1_1dense__set.html#a6e8732dc86fd8f04f585deebb0b39ad5">entt::dense_set::find</a></div><div class="ttdeci">const_iterator find(const value_type &amp;value) const</div><div class="ttdoc">Finds an element with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00669">dense_set.hpp:669</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a72d096d037d026cde4c1cae27dc326ba"><div class="ttname"><a href="classentt_1_1dense__set.html#a72d096d037d026cde4c1cae27dc326ba">entt::dense_set::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00415">dense_set.hpp:415</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a77c4ca141381ddc6c09fd1ef2b594509"><div class="ttname"><a href="classentt_1_1dense__set.html#a77c4ca141381ddc6c09fd1ef2b594509">entt::dense_set::rend</a></div><div class="ttdeci">const_reverse_iterator rend() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00479">dense_set.hpp:479</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a7f5c5416bd4134d1709a13073f3682bc"><div class="ttname"><a href="classentt_1_1dense__set.html#a7f5c5416bd4134d1709a13073f3682bc">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(const size_type cnt, const allocator_type &amp;allocator)</div><div class="ttdoc">Constructs an empty container with a given allocator and user supplied minimal number of buckets.</div><div class="ttdef"><b>Definition</b> <a href="#l00332">dense_set.hpp:332</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a7f9a2eaac7725273d76b340f6e46c821"><div class="ttname"><a href="classentt_1_1dense__set.html#a7f9a2eaac7725273d76b340f6e46c821">entt::dense_set::hash_function</a></div><div class="ttdeci">hasher hash_function() const</div><div class="ttdoc">Returns the function used to hash the elements.</div><div class="ttdef"><b>Definition</b> <a href="#l00907">dense_set.hpp:907</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a818d80686b709f02cec08f5fc082e279"><div class="ttname"><a href="classentt_1_1dense__set.html#a818d80686b709f02cec08f5fc082e279">entt::dense_set::insert</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; insert(const value_type &amp;value)</div><div class="ttdoc">Inserts an element into the container, if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00526">dense_set.hpp:526</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a83489efab7359c9c31d910844d96faa5"><div class="ttname"><a href="classentt_1_1dense__set.html#a83489efab7359c9c31d910844d96faa5">entt::dense_set::local_iterator</a></div><div class="ttdeci">internal::dense_set_local_iterator&lt; typename packed_container_type::iterator &gt; local_iterator</div><div class="ttdoc">Forward iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00311">dense_set.hpp:311</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a878bf99193783308b365997219a34cbf"><div class="ttname"><a href="classentt_1_1dense__set.html#a878bf99193783308b365997219a34cbf">entt::dense_set::~dense_set</a></div><div class="ttdeci">~dense_set()=default</div><div class="ttdoc">Default destructor.</div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a899d206bbac4c0fe88f16a4ce2215b4a"><div class="ttname"><a href="classentt_1_1dense__set.html#a899d206bbac4c0fe88f16a4ce2215b4a">entt::dense_set::reserve</a></div><div class="ttdeci">void reserve(const size_type cnt)</div><div class="ttdoc">Reserves space for at least the specified number of elements and regenerates the hash table.</div><div class="ttdef"><b>Definition</b> <a href="#l00898">dense_set.hpp:898</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a8b88d43b273bf11855fe1df801f3a27c"><div class="ttname"><a href="classentt_1_1dense__set.html#a8b88d43b273bf11855fe1df801f3a27c">entt::dense_set::cend</a></div><div class="ttdeci">const_local_iterator cend(const size_type index) const</div><div class="ttdoc">Returns an iterator to the end of a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00787">dense_set.hpp:787</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a8b91ff4841d5fc46d02544d71825822a"><div class="ttname"><a href="classentt_1_1dense__set.html#a8b91ff4841d5fc46d02544d71825822a">entt::dense_set::reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; iterator &gt; reverse_iterator</div><div class="ttdoc">Reverse iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00307">dense_set.hpp:307</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a8c83fbdb7d106f60f98d3ae3f395abc2"><div class="ttname"><a href="classentt_1_1dense__set.html#a8c83fbdb7d106f60f98d3ae3f395abc2">entt::dense_set::allocator_type</a></div><div class="ttdeci">Allocator allocator_type</div><div class="ttdoc">Allocator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00291">dense_set.hpp:291</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a8d3596e86387eb57317a565f23b3d7b9"><div class="ttname"><a href="classentt_1_1dense__set.html#a8d3596e86387eb57317a565f23b3d7b9">entt::dense_set::count</a></div><div class="ttdeci">size_type count(const value_type &amp;key) const</div><div class="ttdoc">Returns the number of elements matching a value (either 1 or 0).</div><div class="ttdef"><b>Definition</b> <a href="#l00642">dense_set.hpp:642</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a9969d69b8cd34bffe4fc0f0be83d16fa"><div class="ttname"><a href="classentt_1_1dense__set.html#a9969d69b8cd34bffe4fc0f0be83d16fa">entt::dense_set::end</a></div><div class="ttdeci">iterator end() noexcept</div><div class="ttdoc">Returns an iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00444">dense_set.hpp:444</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_a9ef9e51dc8219cfd2427a7594ff4bf65"><div class="ttname"><a href="classentt_1_1dense__set.html#a9ef9e51dc8219cfd2427a7594ff4bf65">entt::dense_set::find</a></div><div class="ttdeci">std::enable_if_t&lt; is_transparent_v&lt; hasher &gt; &amp;&amp;is_transparent_v&lt; key_equal &gt;, std::conditional_t&lt; false, Other, const_iterator &gt; &gt; find(const Other &amp;value) const</div><div class="ttdoc">Finds an element with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00689">dense_set.hpp:689</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_aa84caa4b8ea63cc40d7c96158a35760f"><div class="ttname"><a href="classentt_1_1dense__set.html#aa84caa4b8ea63cc40d7c96158a35760f">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(const dense_set &amp;)=default</div><div class="ttdoc">Default copy constructor.</div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ab1199b43ef81b1fab9d52a0c1275dd56"><div class="ttname"><a href="classentt_1_1dense__set.html#ab1199b43ef81b1fab9d52a0c1275dd56">entt::dense_set::swap</a></div><div class="ttdeci">void swap(dense_set &amp;other) noexcept</div><div class="ttdoc">Exchanges the contents with those of a given container.</div><div class="ttdef"><b>Definition</b> <a href="#l00630">dense_set.hpp:630</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ab2a4eef9bb92ac32b118c155e643795e"><div class="ttname"><a href="classentt_1_1dense__set.html#ab2a4eef9bb92ac32b118c155e643795e">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(dense_set &amp;&amp;) noexcept=default</div><div class="ttdoc">Default move constructor.</div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ab5fa4899ccdf38b575c7467da213ffa4"><div class="ttname"><a href="classentt_1_1dense__set.html#ab5fa4899ccdf38b575c7467da213ffa4">entt::dense_set::end</a></div><div class="ttdeci">const_local_iterator end(const size_type index) const</div><div class="ttdoc">Returns an iterator to the end of a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00796">dense_set.hpp:796</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ab740b6ce89b700657c796b7388563569"><div class="ttname"><a href="classentt_1_1dense__set.html#ab740b6ce89b700657c796b7388563569">entt::dense_set::max_load_factor</a></div><div class="ttdeci">void max_load_factor(const float value)</div><div class="ttdoc">Sets the desired maximum average number of elements per bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00863">dense_set.hpp:863</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_abceb56d6788f953e79b6d6924bfcbfe2"><div class="ttname"><a href="classentt_1_1dense__set.html#abceb56d6788f953e79b6d6924bfcbfe2">entt::dense_set::load_factor</a></div><div class="ttdeci">float load_factor() const</div><div class="ttdoc">Returns the average number of elements per bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00847">dense_set.hpp:847</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_abe614f630f49556a49f65c7ed3e1183a"><div class="ttname"><a href="classentt_1_1dense__set.html#abe614f630f49556a49f65c7ed3e1183a">entt::dense_set::erase</a></div><div class="ttdeci">size_type erase(const value_type &amp;value)</div><div class="ttdoc">Removes the element associated with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00613">dense_set.hpp:613</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ac1c11ba7070fd958ada9dab7b9106ec6"><div class="ttname"><a href="classentt_1_1dense__set.html#ac1c11ba7070fd958ada9dab7b9106ec6">entt::dense_set::insert</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; insert(value_type &amp;&amp;value)</div><div class="ttdoc">Inserts an element into the container, if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00531">dense_set.hpp:531</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ac3410a73c0331657be2da1c8f0855949"><div class="ttname"><a href="classentt_1_1dense__set.html#ac3410a73c0331657be2da1c8f0855949">entt::dense_set::max_bucket_count</a></div><div class="ttdeci">size_type max_bucket_count() const</div><div class="ttdoc">Returns the maximum number of buckets.</div><div class="ttdef"><b>Definition</b> <a href="#l00821">dense_set.hpp:821</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ac6e88655aa8ad10f1abec3f096c64161"><div class="ttname"><a href="classentt_1_1dense__set.html#ac6e88655aa8ad10f1abec3f096c64161">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(const allocator_type &amp;allocator)</div><div class="ttdoc">Constructs an empty container with a given allocator.</div><div class="ttdef"><b>Definition</b> <a href="#l00323">dense_set.hpp:323</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ac979c28743c3adbda7405b8603116631"><div class="ttname"><a href="classentt_1_1dense__set.html#ac979c28743c3adbda7405b8603116631">entt::dense_set::rbegin</a></div><div class="ttdeci">const_reverse_iterator rbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00460">dense_set.hpp:460</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_acb2185a8bef7bb0e248a61605c3b0bca"><div class="ttname"><a href="classentt_1_1dense__set.html#acb2185a8bef7bb0e248a61605c3b0bca">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00316">dense_set.hpp:316</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_acba121addd4d2f1d273ed6c1d9ce711d"><div class="ttname"><a href="classentt_1_1dense__set.html#acba121addd4d2f1d273ed6c1d9ce711d">entt::dense_set::end</a></div><div class="ttdeci">const_iterator end() const noexcept</div><div class="ttdoc">Returns an iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00439">dense_set.hpp:439</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ad26d7ce37fefc322767d3df9a2c83da6"><div class="ttname"><a href="classentt_1_1dense__set.html#ad26d7ce37fefc322767d3df9a2c83da6">entt::dense_set::operator=</a></div><div class="ttdeci">dense_set &amp; operator=(const dense_set &amp;)=default</div><div class="ttdoc">Default copy assignment operator.</div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ad29198f1dc4accffa9fc9859af956df3"><div class="ttname"><a href="classentt_1_1dense__set.html#ad29198f1dc4accffa9fc9859af956df3">entt::dense_set::dense_set</a></div><div class="ttdeci">dense_set(const size_type cnt, const hasher &amp;hash=hasher{}, const key_equal &amp;equal=key_equal{}, const allocator_type &amp;allocator=allocator_type{})</div><div class="ttdoc">Constructs an empty container with a given allocator, hash function, compare function and user suppli...</div><div class="ttdef"><b>Definition</b> <a href="#l00353">dense_set.hpp:353</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ad4ada548c135e15f963efcbdac476e1b"><div class="ttname"><a href="classentt_1_1dense__set.html#ad4ada548c135e15f963efcbdac476e1b">entt::dense_set::erase</a></div><div class="ttdeci">iterator erase(const_iterator pos)</div><div class="ttdoc">Removes an element from a given position.</div><div class="ttdef"><b>Definition</b> <a href="#l00586">dense_set.hpp:586</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ad75a164225ececfa173b230e587b46c6"><div class="ttname"><a href="classentt_1_1dense__set.html#ad75a164225ececfa173b230e587b46c6">entt::dense_set::find</a></div><div class="ttdeci">std::enable_if_t&lt; is_transparent_v&lt; hasher &gt; &amp;&amp;is_transparent_v&lt; key_equal &gt;, std::conditional_t&lt; false, Other, iterator &gt; &gt; find(const Other &amp;value)</div><div class="ttdoc">Finds an element that compares equivalent to a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00682">dense_set.hpp:682</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ade485155ec5ec107a0c3582aa848e376"><div class="ttname"><a href="classentt_1_1dense__set.html#ade485155ec5ec107a0c3582aa848e376">entt::dense_set::rehash</a></div><div class="ttdeci">void rehash(const size_type cnt)</div><div class="ttdoc">Reserves at least the specified number of buckets and regenerates the hash table.</div><div class="ttdef"><b>Definition</b> <a href="#l00874">dense_set.hpp:874</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ade757a21f4fc8d6db7bc594ad8157a59"><div class="ttname"><a href="classentt_1_1dense__set.html#ade757a21f4fc8d6db7bc594ad8157a59">entt::dense_set::crend</a></div><div class="ttdeci">const_reverse_iterator crend() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00474">dense_set.hpp:474</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ae07fa72742e52a2a2823252487af5263"><div class="ttname"><a href="classentt_1_1dense__set.html#ae07fa72742e52a2a2823252487af5263">entt::dense_set::count</a></div><div class="ttdeci">std::enable_if_t&lt; is_transparent_v&lt; hasher &gt; &amp;&amp;is_transparent_v&lt; key_equal &gt;, std::conditional_t&lt; false, Other, size_type &gt; &gt; count(const Other &amp;key) const</div><div class="ttdoc">Returns the number of elements matching a key (either 1 or 0).</div><div class="ttdef"><b>Definition</b> <a href="#l00654">dense_set.hpp:654</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ae130fd3c8ef0c3899ac2ba45fb6a1965"><div class="ttname"><a href="classentt_1_1dense__set.html#ae130fd3c8ef0c3899ac2ba45fb6a1965">entt::dense_set::get_allocator</a></div><div class="ttdeci">constexpr allocator_type get_allocator() const noexcept</div><div class="ttdoc">Returns the associated allocator.</div><div class="ttdef"><b>Definition</b> <a href="#l00404">dense_set.hpp:404</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ae52c7f8b38e6bfc15e421fcc8021ba15"><div class="ttname"><a href="classentt_1_1dense__set.html#ae52c7f8b38e6bfc15e421fcc8021ba15">entt::dense_set::insert</a></div><div class="ttdeci">void insert(It first, It last)</div><div class="ttdoc">Inserts elements into the container, if they do not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00542">dense_set.hpp:542</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_ae8c26808f90a31003009127bce24f346"><div class="ttname"><a href="classentt_1_1dense__set.html#ae8c26808f90a31003009127bce24f346">entt::dense_set::rend</a></div><div class="ttdeci">reverse_iterator rend() noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00484">dense_set.hpp:484</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_aeb02fd08b390059b8c1cffc39a6f40f1"><div class="ttname"><a href="classentt_1_1dense__set.html#aeb02fd08b390059b8c1cffc39a6f40f1">entt::dense_set::max_load_factor</a></div><div class="ttdeci">float max_load_factor() const</div><div class="ttdoc">Returns the maximum average number of elements per bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00855">dense_set.hpp:855</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_aec681fa3aabf02aaf7666123946817b8"><div class="ttname"><a href="classentt_1_1dense__set.html#aec681fa3aabf02aaf7666123946817b8">entt::dense_set::equal_range</a></div><div class="ttdeci">std::enable_if_t&lt; is_transparent_v&lt; hasher &gt; &amp;&amp;is_transparent_v&lt; key_equal &gt;, std::conditional_t&lt; false, Other, std::pair&lt; const_iterator, const_iterator &gt; &gt; &gt; equal_range(const Other &amp;value) const</div><div class="ttdoc">Returns a range containing all elements with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00728">dense_set.hpp:728</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_af11a86dfc5bd93593a947522fa70bc13"><div class="ttname"><a href="classentt_1_1dense__set.html#af11a86dfc5bd93593a947522fa70bc13">entt::dense_set::equal_range</a></div><div class="ttdeci">std::pair&lt; const_iterator, const_iterator &gt; equal_range(const value_type &amp;value) const</div><div class="ttdoc">Returns a range containing all elements with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00705">dense_set.hpp:705</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_af40a2a303dddc229bce36516d18921d5"><div class="ttname"><a href="classentt_1_1dense__set.html#af40a2a303dddc229bce36516d18921d5">entt::dense_set::begin</a></div><div class="ttdeci">const_local_iterator begin(const size_type index) const</div><div class="ttdoc">Returns an iterator to the beginning of a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00769">dense_set.hpp:769</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_af5dfa9caba33563b1678e85d2774609c"><div class="ttname"><a href="classentt_1_1dense__set.html#af5dfa9caba33563b1678e85d2774609c">entt::dense_set::begin</a></div><div class="ttdeci">local_iterator begin(const size_type index)</div><div class="ttdoc">Returns an iterator to the beginning of a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00778">dense_set.hpp:778</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_af66d225983e161e2f5b6bcd839dd295e"><div class="ttname"><a href="classentt_1_1dense__set.html#af66d225983e161e2f5b6bcd839dd295e">entt::dense_set::cbegin</a></div><div class="ttdeci">const_local_iterator cbegin(const size_type index) const</div><div class="ttdoc">Returns an iterator to the beginning of a given bucket.</div><div class="ttdef"><b>Definition</b> <a href="#l00760">dense_set.hpp:760</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_afd77a2703fb72d17f382f5cb1aeb24b2"><div class="ttname"><a href="classentt_1_1dense__set.html#afd77a2703fb72d17f382f5cb1aeb24b2">entt::dense_set::contains</a></div><div class="ttdeci">bool contains(const value_type &amp;value) const</div><div class="ttdoc">Checks if the container contains an element with a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00738">dense_set.hpp:738</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__set_html_aff5d31abe96f4a71dd5d661e7f4feae1"><div class="ttname"><a href="classentt_1_1dense__set.html#aff5d31abe96f4a71dd5d661e7f4feae1">entt::dense_set::begin</a></div><div class="ttdeci">iterator begin() noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00425">dense_set.hpp:425</a></div></div>
<div class="ttc" id="anamespaceentt_html"><div class="ttname"><a href="namespaceentt.html">entt</a></div><div class="ttdoc">EnTT default namespace.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00022">dense_map.hpp:22</a></div></div>
<div class="ttc" id="anamespaceentt_html_a12e4d0c58f9c4cc6f5513c39c530b9b7"><div class="ttname"><a href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator</a></div><div class="ttdeci">constexpr Type make_obj_using_allocator(const Allocator &amp;allocator, Args &amp;&amp;...args)</div><div class="ttdoc">Uses-allocator construction utility (waiting for C++20).</div><div class="ttdef"><b>Definition</b> <a href="memory_8hpp_source.html#l00219">memory.hpp:219</a></div></div>
<div class="ttc" id="anamespaceentt_html_a1ae98eeee0b0cb3e94d97d08a74a06f0"><div class="ttname"><a href="namespaceentt.html#a1ae98eeee0b0cb3e94d97d08a74a06f0">entt::fast_mod</a></div><div class="ttdeci">constexpr std::enable_if_t&lt; std::is_unsigned_v&lt; Type &gt;, Type &gt; fast_mod(const Type value, const std::size_t mod) noexcept</div><div class="ttdoc">Fast module utility function (powers of two only).</div><div class="ttdef"><b>Definition</b> <a href="bit_8hpp_source.html#l00062">bit.hpp:62</a></div></div>
<div class="ttc" id="anamespaceentt_html_a8c763e890bb00479a6a6aeae3b2a75f0"><div class="ttname"><a href="namespaceentt.html#a8c763e890bb00479a6a6aeae3b2a75f0">entt::operator&lt;=</a></div><div class="ttdeci">constexpr bool operator&lt;=(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00257">hashed_string.hpp:257</a></div></div>
<div class="ttc" id="anamespaceentt_html_a8f6fb41a1c8c0c5968bfca369e51a73e"><div class="ttname"><a href="namespaceentt.html#a8f6fb41a1c8c0c5968bfca369e51a73e">entt::next_power_of_two</a></div><div class="ttdeci">constexpr std::enable_if_t&lt; std::is_unsigned_v&lt; Type &gt;, Type &gt; next_power_of_two(const Type value) noexcept</div><div class="ttdoc">Computes the smallest power of two greater than or equal to a value (waiting for C++20 and std::bit_c...</div><div class="ttdef"><b>Definition</b> <a href="bit_8hpp_source.html#l00043">bit.hpp:43</a></div></div>
<div class="ttc" id="anamespaceentt_html_aa88e297d57dd5547afcde8dd291c4b8f"><div class="ttname"><a href="namespaceentt.html#aa88e297d57dd5547afcde8dd291c4b8f">entt::operator&lt;</a></div><div class="ttdeci">constexpr bool operator&lt;(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00244">hashed_string.hpp:244</a></div></div>
<div class="ttc" id="anamespaceentt_html_ab36ceb26049f62c07817a385e35395f6"><div class="ttname"><a href="namespaceentt.html#ab36ceb26049f62c07817a385e35395f6">entt::operator+</a></div><div class="ttdeci">constexpr type_list&lt; Type..., Other... &gt; operator+(type_list&lt; Type... &gt;, type_list&lt; Other... &gt;)</div><div class="ttdoc">Concatenates multiple type lists.</div><div class="ttdef"><b>Definition</b> <a href="core_2type__traits_8hpp_source.html#l00209">type_traits.hpp:209</a></div></div>
<div class="ttc" id="anamespaceentt_html_ad9accc71a383509ada028f7fa2b767bf"><div class="ttname"><a href="namespaceentt.html#ad9accc71a383509ada028f7fa2b767bf">entt::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00232">hashed_string.hpp:232</a></div></div>
<div class="ttc" id="anamespaceentt_html_adadb88dfb4278df554e7ffec5361ece4"><div class="ttname"><a href="namespaceentt.html#adadb88dfb4278df554e7ffec5361ece4">entt::operator&gt;=</a></div><div class="ttdeci">constexpr bool operator&gt;=(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00283">hashed_string.hpp:283</a></div></div>
<div class="ttc" id="anamespaceentt_html_aec8131af000055ceab85646c14f234ad"><div class="ttname"><a href="namespaceentt.html#aec8131af000055ceab85646c14f234ad">entt::operator&gt;</a></div><div class="ttdeci">constexpr bool operator&gt;(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00270">hashed_string.hpp:270</a></div></div>
<div class="ttc" id="anamespaceentt_html_af7c61951b721a1e3612cf536bd707501"><div class="ttname"><a href="namespaceentt.html#af7c61951b721a1e3612cf536bd707501">entt::operator==</a></div><div class="ttdeci">constexpr bool operator==(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00220">hashed_string.hpp:220</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>