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

1032 lines
227 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_map.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_map.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_MAP_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_CONTAINER_DENSE_MAP_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/iterator.hpp&quot;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &quot;../core/memory.hpp&quot;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include &quot;../core/type_traits.hpp&quot;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &quot;fwd.hpp&quot;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="foldopen" id="foldopen00022" data-start="{" data-end="}">
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="namespaceentt.html"> 22</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">namespace </span>internal {</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </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> Key, <span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">struct </span>dense_map_node final {</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">using </span>value_type = std::pair&lt;Key, Type&gt;;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> dense_map_node(<span class="keyword">const</span> std::size_t pos, Args &amp;&amp;...args)</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> : next{pos},</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> element{std::forward&lt;Args&gt;(args)...} {}</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Allocator, <span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> dense_map_node(std::allocator_arg_t, <span class="keyword">const</span> Allocator &amp;allocator, <span class="keyword">const</span> std::size_t pos, Args &amp;&amp;...args)</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> : next{pos},</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> element{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator&lt;value_type&gt;</a>(allocator, std::forward&lt;Args&gt;(args)...)} {}</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Allocator&gt;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> dense_map_node(std::allocator_arg_t, <span class="keyword">const</span> Allocator &amp;allocator, <span class="keyword">const</span> dense_map_node &amp;other)</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> : next{other.next},</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> element{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator&lt;value_type&gt;</a>(allocator, other.element)} {}</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Allocator&gt;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> dense_map_node(std::allocator_arg_t, <span class="keyword">const</span> Allocator &amp;allocator, dense_map_node &amp;&amp;other)</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> : next{other.next},</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> element{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator&lt;value_type&gt;</a>(allocator, std::move(other.element))} {}</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> std::size_t next;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> value_type element;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span>};</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><span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keyword">class </span>dense_map_iterator final {</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">friend</span> <span class="keyword">class </span>dense_map_iterator;</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">using </span>first_type = <span class="keyword">decltype</span>(std::as_const(std::declval&lt;It&gt;()-&gt;element.first));</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">using </span>second_type = <span class="keyword">decltype</span>((std::declval&lt;It&gt;()-&gt;element.second));</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">using </span>value_type = std::pair&lt;first_type, second_type&gt;;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">using </span>pointer = <a class="code hl_struct" href="structentt_1_1input__iterator__pointer.html">input_iterator_pointer&lt;value_type&gt;</a>;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">using </span>reference = value_type;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">using </span>difference_type = std::ptrdiff_t;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">using </span>iterator_category = std::input_iterator_tag;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">using </span>iterator_concept = std::random_access_iterator_tag;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">constexpr</span> dense_map_iterator() noexcept</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> : it{} {}</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> <span class="keyword">constexpr</span> dense_map_iterator(<span class="keyword">const</span> It iter) noexcept</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> : it{iter} {}</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</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="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">constexpr</span> dense_map_iterator(<span class="keyword">const</span> dense_map_iterator&lt;Other&gt; &amp;other) noexcept</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> : it{other.it} {}</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">constexpr</span> dense_map_iterator &amp;operator++() <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keywordflow">return</span> ++it, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">constexpr</span> dense_map_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> dense_map_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> ++(*this), orig;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</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> <span class="keyword">constexpr</span> dense_map_iterator &amp;operator--() <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">return</span> --it, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> }</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> <span class="keyword">constexpr</span> dense_map_iterator operator--(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> dense_map_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordflow">return</span> operator--(), orig;</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> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">constexpr</span> dense_map_iterator &amp;operator+=(<span class="keyword">const</span> difference_type value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> it += value;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</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">constexpr</span> dense_map_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="l00105" name="l00105"></a><span class="lineno"> 105</span> dense_map_iterator copy = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">return</span> (copy += value);</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> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keyword">constexpr</span> dense_map_iterator &amp;operator-=(<span class="keyword">const</span> difference_type value) <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> (*<span class="keyword">this</span> += -value);</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">constexpr</span> dense_map_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="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordflow">return</span> (*<span class="keyword">this</span> + -value);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> }</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> [[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="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">return</span> {it[value].element.first, it[value].element.second};</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> }</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> [[nodiscard]] <span class="keyword">constexpr</span> pointer operator-&gt;() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">return</span> operator*();</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> }</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator*() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">return</span> operator[](0);</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> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</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="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keyword">friend</span> <span class="keyword">constexpr</span> std::ptrdiff_t operator-(<span class="keyword">const</span> dense_map_iterator&lt;Lhs&gt; &amp;, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;) <span class="keyword">noexcept</span>;</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> <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="l00133" name="l00133"></a><span class="lineno"> 133</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_map_iterator&lt;Lhs&gt; &amp;, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</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="l00136" name="l00136"></a><span class="lineno"> 136</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_map_iterator&lt;Lhs&gt; &amp;, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;) <span class="keyword">noexcept</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">private</span>:</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> It it;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span>};</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><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="l00143" name="l00143"></a><span class="lineno"> 143</span>[[nodiscard]] <span class="keyword">constexpr</span> std::ptrdiff_t operator-(<span class="keyword">const</span> dense_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordflow">return</span> lhs.it - rhs.it;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span>}</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</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="l00148" name="l00148"></a><span class="lineno"> 148</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_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordflow">return</span> lhs.it == rhs.it;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span>}</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</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="l00153" name="l00153"></a><span class="lineno"> 153</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_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <span class="keywordflow">return</span> !(lhs == rhs);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span>}</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</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="l00158" name="l00158"></a><span class="lineno"> 158</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_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keywordflow">return</span> lhs.it &lt; rhs.it;</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span>}</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</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="l00163" name="l00163"></a><span class="lineno"> 163</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_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordflow">return</span> rhs &lt; lhs;</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span>}</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</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="l00168" name="l00168"></a><span class="lineno"> 168</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_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">return</span> !(lhs &gt; rhs);</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">template</span>&lt;<span class="keyword">typename</span> Lhs, <span class="keyword">typename</span> Rhs&gt;</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</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_map_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> !(lhs &lt; rhs);</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><span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span><span class="keyword">class </span>dense_map_local_iterator final {</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="keyword">friend</span> <span class="keyword">class </span>dense_map_local_iterator;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keyword">using </span>first_type = <span class="keyword">decltype</span>(std::as_const(std::declval&lt;It&gt;()-&gt;element.first));</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">using </span>second_type = <span class="keyword">decltype</span>((std::declval&lt;It&gt;()-&gt;element.second));</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><span class="keyword">public</span>:</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">using </span>value_type = std::pair&lt;first_type, second_type&gt;;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">using </span>pointer = <a class="code hl_struct" href="structentt_1_1input__iterator__pointer.html">input_iterator_pointer&lt;value_type&gt;</a>;</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keyword">using </span>reference = value_type;</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <span class="keyword">using </span>difference_type = std::ptrdiff_t;</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <span class="keyword">using </span>iterator_category = std::input_iterator_tag;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="keyword">using </span>iterator_concept = std::forward_iterator_tag;</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> <span class="keyword">constexpr</span> dense_map_local_iterator() noexcept</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> : it{},</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> offset{} {}</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keyword">constexpr</span> dense_map_local_iterator(It iter, <span class="keyword">const</span> std::size_t pos) noexcept</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> : it{iter},</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> offset{pos} {}</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</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="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keyword">constexpr</span> dense_map_local_iterator(<span class="keyword">const</span> dense_map_local_iterator&lt;Other&gt; &amp;other) noexcept</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> : it{other.it},</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> offset{other.offset} {}</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> <span class="keyword">constexpr</span> dense_map_local_iterator &amp;operator++() <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <span class="keywordflow">return</span> offset = it[offset].next, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> }</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> </div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <span class="keyword">constexpr</span> dense_map_local_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> dense_map_local_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <span class="keywordflow">return</span> ++(*this), orig;</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> }</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> [[nodiscard]] <span class="keyword">constexpr</span> pointer operator-&gt;() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keywordflow">return</span> operator*();</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> }</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator*() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> <span class="keywordflow">return</span> {it[offset].element.first, it[offset].element.second};</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> }</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> [[nodiscard]] <span class="keyword">constexpr</span> std::size_t index() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keywordflow">return</span> offset;</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> }</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> It it;</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> std::size_t offset;</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span>};</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</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="l00233" name="l00233"></a><span class="lineno"> 233</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_map_local_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_local_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="keywordflow">return</span> lhs.index() == rhs.index();</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span>}</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</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="l00238" name="l00238"></a><span class="lineno"> 238</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_map_local_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> dense_map_local_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordflow">return</span> !(lhs == rhs);</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>} <span class="comment">// namespace internal</span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Key, <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="foldopen00259" data-start="{" data-end="};">
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html"> 259</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a> {</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</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="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> std::size_t minimum_capacity = 8u;</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keyword">using </span>node_type = internal::dense_map_node&lt;Key, Type&gt;;</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits&lt;Allocator&gt;;</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="keyword">static_assert</span>(std::is_same_v&lt;typename alloc_traits::value_type, std::pair&lt;const Key, Type&gt;&gt;, <span class="stringliteral">&quot;Invalid value type&quot;</span>);</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</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="l00267" name="l00267"></a><span class="lineno"> 267</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="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="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::size_t key_to_bucket(<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> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="comment">// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-array-to-pointer-decay)</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</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__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a><span class="keyword">&gt;</span>(sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a044cced5ce2cd85f4966814d991a54a7">second</a>()(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)), <a class="code hl_function" href="classentt_1_1dense__map.html#aee246b41534137f279a11eb5e225a6e5">bucket_count</a>());</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> }</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</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;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, std::size_t <a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">bucket</a>) {</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</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__map.html#a7c0e7de10687bc1e810d67ba6a91396d">begin</a>(<a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">bucket</a>), last = <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>(<a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">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="l00278" name="l00278"></a><span class="lineno"> 278</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>-&gt;first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)) {</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7c0e7de10687bc1e810d67ba6a91396d">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="l00280" name="l00280"></a><span class="lineno"> 280</span> }</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="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>();</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> }</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> </div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</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;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, std::size_t <a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">bucket</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</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__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">cbegin</a>(<a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">bucket</a>), last = <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>(<a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">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="l00289" name="l00289"></a><span class="lineno"> 289</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>-&gt;first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)) {</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">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="l00291" name="l00291"></a><span class="lineno"> 291</span> }</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> }</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>();</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> }</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>&gt;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</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;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</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="l00299" name="l00299"></a><span class="lineno"> 299</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> </div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keywordflow">if</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = constrained_find(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, index); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>()) {</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</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="l00303" name="l00303"></a><span class="lineno"> 303</span> }</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> </div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</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::piecewise_construct, std::forward_as_tuple(std::forward&lt;Other&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)), 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="l00306" name="l00306"></a><span class="lineno"> 306</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="l00307" name="l00307"></a><span class="lineno"> 307</span> rehash_if_required();</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> </div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> <span class="keywordflow">return</span> std::make_pair(--<a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>(), <span class="keyword">true</span>);</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> }</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other, <span class="keyword">typename</span> Arg&gt;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">auto</span> insert_or_overwrite(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Other</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Arg</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> </div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <span class="keywordflow">if</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = constrained_find(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, index); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>()) {</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>-&gt;second = std::forward&lt;Arg&gt;(value);</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</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="l00319" name="l00319"></a><span class="lineno"> 319</span> }</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> </div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</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;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>), std::forward&lt;Arg&gt;(value));</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</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="l00323" name="l00323"></a><span class="lineno"> 323</span> rehash_if_required();</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <span class="keywordflow">return</span> std::make_pair(--<a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>(), <span class="keyword">true</span>);</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> }</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> </div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</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="l00329" name="l00329"></a><span class="lineno"> 329</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__map.html#a38b10511f585724b7eb6e5f9556dea21">size</a>() - 1u; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> != last) {</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">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>()[key_to_bucket(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().back().element.first)];</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</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="l00332" name="l00332"></a><span class="lineno"> 332</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>].next) {}</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</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="l00334" name="l00334"></a><span class="lineno"> 334</span> }</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> </div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().pop_back();</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> }</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <span class="keywordtype">void</span> rehash_if_required() {</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21">size</a>() &gt; (<a class="code hl_function" href="classentt_1_1dense__map.html#aee246b41534137f279a11eb5e225a6e5">bucket_count</a>() * <a class="code hl_function" href="classentt_1_1dense__map.html#a54a2dd65d401a992fd91fb8a91faea86">max_load_factor</a>())) {</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">rehash</a>(<a class="code hl_function" href="classentt_1_1dense__map.html#aee246b41534137f279a11eb5e225a6e5">bucket_count</a>() * 2u);</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> }</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> }</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> </div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78"> 347</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> = Allocator;</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab"> 349</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Key</a>;</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3"> 351</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3">mapped_type</a> = Type;</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#aa53501af8bfd66b6bf45e8cfa844e180"> 353</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#aa53501af8bfd66b6bf45e8cfa844e180">value_type</a> = std::pair&lt;const Key, Type&gt;;</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1"> 355</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> = std::size_t;</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9"> 357</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9">hasher</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Hash</a>;</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086"> 359</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">KeyEqual</a>;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d"> 361</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">iterator</a> = internal::dense_map_iterator&lt;typename packed_container_type::iterator&gt;;</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8"> 363</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> = internal::dense_map_iterator&lt;typename packed_container_type::const_iterator&gt;;</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ad05e437f37f277cbe5c6121e67a4e89a"> 365</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#ad05e437f37f277cbe5c6121e67a4e89a">local_iterator</a> = internal::dense_map_local_iterator&lt;typename packed_container_type::iterator&gt;;</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394"> 367</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394">const_local_iterator</a> = internal::dense_map_local_iterator&lt;typename packed_container_type::const_iterator&gt;;</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> </div>
<div class="foldopen" id="foldopen00370" data-start="{" data-end="}">
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#af163bec2cf56f3571000a5fc0145832f"> 370</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#af163bec2cf56f3571000a5fc0145832f">dense_map</a>()</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> : <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a>{minimum_capacity} {}</div>
</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> </div>
<div class="foldopen" id="foldopen00377" data-start="{" data-end="}">
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a096357c0bdb6342d7d304716e41fcea5"> 377</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a096357c0bdb6342d7d304716e41fcea5">dense_map</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> : <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a>{minimum_capacity, <a class="code hl_typedef" href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9">hasher</a>{}, <a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a>{}, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> </div>
<div class="foldopen" id="foldopen00386" data-start="{" data-end="}">
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a524c65b19c282b4a2bce0434facca4c5"> 386</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a524c65b19c282b4a2bce0434facca4c5">dense_map</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">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__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> : <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a>{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, <a class="code hl_typedef" href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9">hasher</a>{}, <a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a>{}, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> </div>
<div class="foldopen" id="foldopen00396" data-start="{" data-end="}">
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#acb47beb8b4689e0e09e7527bd537f69b"> 396</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#acb47beb8b4689e0e09e7527bd537f69b">dense_map</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">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__map.html#ae62722d472417185388e952655b120e9">hasher</a> &amp;hash, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> : <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a>{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>, hash, <a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a>{}, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> </div>
<div class="foldopen" id="foldopen00407" data-start="{" data-end="}">
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a07183a6c046d3a3b2e7201bd63aa8efe"> 407</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a07183a6c046d3a3b2e7201bd63aa8efe">dense_map</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">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__map.html#ae62722d472417185388e952655b120e9">hasher</a> &amp;hash = <a class="code hl_typedef" href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9">hasher</a>{}, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">equal</a> = <a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a>{}, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a> = <a class="code hl_typedef" href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a>{})</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> : sparse{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, hash},</div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</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="l00410" name="l00410"></a><span class="lineno"> 410</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">rehash</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>);</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> }</div>
</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> </div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#aaa72d92d87e8020e0ca5f035cd665d8b"> 414</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#aaa72d92d87e8020e0ca5f035cd665d8b">dense_map</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a> &amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> </div>
<div class="foldopen" id="foldopen00421" data-start="{" data-end="}">
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a8924f4faaa1879a84734ec58f11e6662"> 421</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a8924f4faaa1879a84734ec58f11e6662">dense_map</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</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__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</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="l00423" name="l00423"></a><span class="lineno"> 423</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="l00424" name="l00424"></a><span class="lineno"> 424</span> threshold{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.threshold} {}</div>
</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> </div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ad43ca6e61d09cd9f55c684c659dd74cc"> 427</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#ad43ca6e61d09cd9f55c684c659dd74cc">dense_map</a>(<a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</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="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__map.html#a352da8efacf3d89715b5892e65b82f66"> 434</a></span> <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a>(<a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</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__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</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="l00436" name="l00436"></a><span class="lineno"> 436</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="l00437" name="l00437"></a><span class="lineno"> 437</span> threshold{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.threshold} {}</div>
</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> </div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#af2d0aa858937c74139ff7f48be924268"> 440</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#af2d0aa858937c74139ff7f48be924268">~dense_map</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> </div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a6ee333a078e7bc2b1035a911aff3b7ed"> 446</a></span> <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a> &amp;<a class="code hl_function" href="classentt_1_1dense__map.html#a6ee333a078e7bc2b1035a911aff3b7ed">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a> &amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> </div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a3decbf479ab29fe63161d66299ef20af"> 452</a></span> <a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a> &amp;<a class="code hl_function" href="classentt_1_1dense__map.html#a3decbf479ab29fe63161d66299ef20af">operator=</a>(<a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</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="l00453" name="l00453"></a><span class="lineno"> 453</span> </div>
<div class="foldopen" id="foldopen00458" data-start="{" data-end="}">
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a9cd5632c26bf5281cfbbd7fbd9f85bf5"> 458</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__map.html#adc7feba2153b3764cc7789f31b926d78">allocator_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a9cd5632c26bf5281cfbbd7fbd9f85bf5">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="l00459" name="l00459"></a><span class="lineno"> 459</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="l00460" name="l00460"></a><span class="lineno"> 460</span> }</div>
</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> </div>
<div class="foldopen" id="foldopen00469" data-start="{" data-end="}">
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5"> 469</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">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="l00470" name="l00470"></a><span class="lineno"> 470</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="l00471" name="l00471"></a><span class="lineno"> 471</span> }</div>
</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</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__map.html#a7c0e7de10687bc1e810d67ba6a91396d"> 474</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a7c0e7de10687bc1e810d67ba6a91396d">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="l00475" name="l00475"></a><span class="lineno"> 475</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">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__map.html#afb7f0ff4d0988673a027ac0e0348b216"> 479</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#afb7f0ff4d0988673a027ac0e0348b216">begin</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> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().begin();</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="foldopen00488" data-start="{" data-end="}">
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5"> 488</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">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="l00489" name="l00489"></a><span class="lineno"> 489</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="l00490" name="l00490"></a><span class="lineno"> 490</span> }</div>
</div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> </div>
<div class="foldopen" id="foldopen00493" data-start="{" data-end="}">
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5"> 493</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">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="l00494" name="l00494"></a><span class="lineno"> 494</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>();</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> }</div>
</div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span> </div>
<div class="foldopen" id="foldopen00498" data-start="{" data-end="}">
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#afd4ff12e8b032e6ca5519557d07d1178"> 498</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#afd4ff12e8b032e6ca5519557d07d1178">end</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</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="l00500" name="l00500"></a><span class="lineno"> 500</span> }</div>
</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> </div>
<div class="foldopen" id="foldopen00506" data-start="{" data-end="}">
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ad6f1227e06bf48744b46b3fe251d72f2"> 506</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__map.html#ad6f1227e06bf48744b46b3fe251d72f2">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="l00507" name="l00507"></a><span class="lineno"> 507</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="l00508" name="l00508"></a><span class="lineno"> 508</span> }</div>
</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span> </div>
<div class="foldopen" id="foldopen00514" data-start="{" data-end="}">
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21"> 514</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21">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="l00515" name="l00515"></a><span class="lineno"> 515</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="l00516" name="l00516"></a><span class="lineno"> 516</span> }</div>
</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> </div>
<div class="foldopen" id="foldopen00522" data-start="{" data-end="}">
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a45843ecba66cc9692ae4facac5461e4d"> 522</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a45843ecba66cc9692ae4facac5461e4d">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="l00523" name="l00523"></a><span class="lineno"> 523</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="l00524" name="l00524"></a><span class="lineno"> 524</span> }</div>
</div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span> </div>
<div class="foldopen" id="foldopen00527" data-start="{" data-end="}">
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a096c30be0af8e15902f5585c8d1208b7"> 527</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a096c30be0af8e15902f5585c8d1208b7">clear</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().clear();</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().clear();</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">rehash</a>(0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>);</div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> }</div>
</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> </div>
<div class="foldopen" id="foldopen00540" data-start="{" data-end="}">
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ada4ac1f5a3295d80d8bb4fa6387023db"> 540</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#ada4ac1f5a3295d80d8bb4fa6387023db">insert</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aa53501af8bfd66b6bf45e8cfa844e180">value_type</a> &amp;value) {</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> <span class="keywordflow">return</span> insert_or_do_nothing(value.first, value.second);</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> }</div>
</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> </div>
<div class="foldopen" id="foldopen00545" data-start="{" data-end="}">
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a71e1a562a523572405bbf0a53bb8535d"> 545</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#a71e1a562a523572405bbf0a53bb8535d">insert</a>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#aa53501af8bfd66b6bf45e8cfa844e180">value_type</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> <span class="keywordflow">return</span> insert_or_do_nothing(std::move(value.first), std::move(value.second));</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> }</div>
</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> </div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Arg&gt;</div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span> std::enable_if_t&lt;std::is_constructible_v&lt;value_type, Arg &amp;&amp;&gt;, std::pair&lt;iterator, bool&gt;&gt;</div>
<div class="foldopen" id="foldopen00555" data-start="{" data-end="}">
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a92eced5574b8354b8357f79faf16fc23"> 555</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a92eced5574b8354b8357f79faf16fc23">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Arg</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span> <span class="keywordflow">return</span> insert_or_do_nothing(std::forward&lt;Arg&gt;(value).first, std::forward&lt;Arg&gt;(value).second);</div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> }</div>
</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> </div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="foldopen" id="foldopen00566" data-start="{" data-end="}">
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a3c94e139b8d65ac65df36161183a8a49"> 566</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a3c94e139b8d65ac65df36161183a8a49">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="l00567" name="l00567"></a><span class="lineno"> 567</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> <a class="code hl_function" href="classentt_1_1dense__map.html#ada4ac1f5a3295d80d8bb4fa6387023db">insert</a>(*first);</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> }</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> }</div>
</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> </div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"> 581</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Arg&gt;</div>
<div class="foldopen" id="foldopen00582" data-start="{" data-end="}">
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#aafff57a203cd3fc561320bad6eeea0c3"> 582</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#aafff57a203cd3fc561320bad6eeea0c3">insert_or_assign</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Arg</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span> <span class="keywordflow">return</span> insert_or_overwrite(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, std::forward&lt;Arg&gt;(value));</div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> }</div>
</div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> </div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Arg&gt;</div>
<div class="foldopen" id="foldopen00588" data-start="{" data-end="}">
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a9a9522dcd518bd3d73769d80d35606db"> 588</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#a9a9522dcd518bd3d73769d80d35606db">insert_or_assign</a>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Arg</a> &amp;&amp;value) {</div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> <span class="keywordflow">return</span> insert_or_overwrite(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>), std::forward&lt;Arg&gt;(value));</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="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</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="foldopen00606" data-start="{" data-end="}">
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ab0dfc292981ab6694cd4609879a80dbc"> 606</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#ab0dfc292981ab6694cd4609879a80dbc">emplace</a>([[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</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="l00607" name="l00607"></a><span class="lineno"> 607</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Args) == 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>) {</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> <span class="keywordflow">return</span> insert_or_do_nothing(<a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a>{});</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Args) == 1u) {</div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</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>).first..., std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>).second...);</div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Args) == 2u) {</div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"> 612</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="l00613" name="l00613"></a><span class="lineno"> 613</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</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(packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().size(), std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"> 615</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = key_to_bucket(node.element.first);</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> </div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</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.element.first, index); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>()) {</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> packed.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>().pop_back();</div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"> 619</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="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> std::swap(node.next, sparse.<a class="code hl_function" href="classentt_1_1compressed__pair.html#a6551d4795fa99d140d5c8eb8e55d9d38">first</a>()[index]);</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span> rehash_if_required();</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> </div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"> 625</span> <span class="keywordflow">return</span> std::make_pair(--<a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>(), <span class="keyword">true</span>);</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span> }</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"> 627</span> }</div>
</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"> 628</span> </div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"> 640</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="foldopen00641" data-start="{" data-end="}">
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a53111b5614ea1d29d8396279ebfd7d3e"> 641</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#a53111b5614ea1d29d8396279ebfd7d3e">try_emplace</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</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="l00642" name="l00642"></a><span class="lineno"> 642</span> <span class="keywordflow">return</span> insert_or_do_nothing(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span> }</div>
</div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span> </div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</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="foldopen00647" data-start="{" data-end="}">
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ab2b0e98c01ad728022e5388535333fb1"> 647</a></span> std::pair&lt;iterator, bool&gt; <a class="code hl_function" href="classentt_1_1dense__map.html#ab2b0e98c01ad728022e5388535333fb1">try_emplace</a>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</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="l00648" name="l00648"></a><span class="lineno"> 648</span> <span class="keywordflow">return</span> insert_or_do_nothing(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>), std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> }</div>
</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> </div>
<div class="foldopen" id="foldopen00656" data-start="{" data-end="}">
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a83036e3f167d28ba9afa943271fb5587"> 656</a></span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a83036e3f167d28ba9afa943271fb5587">erase</a>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>) {</div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</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__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">cbegin</a>();</div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a83036e3f167d28ba9afa943271fb5587">erase</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>-&gt;first);</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7c0e7de10687bc1e810d67ba6a91396d">begin</a>() + <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">diff</a>;</div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> }</div>
</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> </div>
<div class="foldopen" id="foldopen00668" data-start="{" data-end="}">
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a49bb9a8de8e27cff97395d4fc527ad04"> 668</a></span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a49bb9a8de8e27cff97395d4fc527ad04">erase</a>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> first, <a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> last) {</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</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__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">cbegin</a>();</div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> </div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</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__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">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="l00672" name="l00672"></a><span class="lineno"> 672</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a83036e3f167d28ba9afa943271fb5587">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].element.first);</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> }</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span> </div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1dense__map.html#a7c0e7de10687bc1e810d67ba6a91396d">begin</a>() + <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">dist</a>);</div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"> 676</span> }</div>
</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> </div>
<div class="foldopen" id="foldopen00683" data-start="{" data-end="}">
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a12d1730a14bac304cbd173c05cb2cbf2"> 683</a></span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a12d1730a14bac304cbd173c05cb2cbf2">erase</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) {</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> <span class="keywordflow">for</span>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">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>()[key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)]; *<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>].next) {</div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</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>].element.first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)) {</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</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="l00687" name="l00687"></a><span class="lineno"> 687</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>].next;</div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span> move_and_pop(index);</div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"> 689</span> <span class="keywordflow">return</span> 1u;</div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span> }</div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> }</div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span> </div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span> <span class="keywordflow">return</span> 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>;</div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span> }</div>
</div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span> </div>
<div class="foldopen" id="foldopen00700" data-start="{" data-end="}">
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a832dc73529e19f662f63c583a5fbd340"> 700</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a832dc73529e19f662f63c583a5fbd340">swap</a>(<a class="code hl_class" href="classentt_1_1dense__map.html">dense_map</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno"> 701</span> <span class="keyword">using </span>std::swap;</div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"> 702</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a832dc73529e19f662f63c583a5fbd340">swap</a>(sparse, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.sparse);</div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"> 703</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a832dc73529e19f662f63c583a5fbd340">swap</a>(packed, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.packed);</div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno"> 704</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a832dc73529e19f662f63c583a5fbd340">swap</a>(threshold, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.threshold);</div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"> 705</span> }</div>
</div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno"> 706</span> </div>
<div class="foldopen" id="foldopen00712" data-start="{" data-end="}">
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a468bf103c5f4779ee24d002576150689"> 712</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3">mapped_type</a> &amp;<a class="code hl_function" href="classentt_1_1dense__map.html#a468bf103c5f4779ee24d002576150689">at</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) {</div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno"> 713</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__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"> 714</span> ENTT_ASSERT(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>(), <span class="stringliteral">&quot;Invalid key&quot;</span>);</div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"> 715</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>-&gt;second;</div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"> 716</span> }</div>
</div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span> </div>
<div class="foldopen" id="foldopen00719" data-start="{" data-end="}">
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a413f21b4eee0336277f24de044fe8cb6"> 719</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3">mapped_type</a> &amp;<a class="code hl_function" href="classentt_1_1dense__map.html#a413f21b4eee0336277f24de044fe8cb6">at</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_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="l00720" name="l00720"></a><span class="lineno"> 720</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__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> ENTT_ASSERT(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> != <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>(), <span class="stringliteral">&quot;Invalid key&quot;</span>);</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>-&gt;second;</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="foldopen" id="foldopen00730" data-start="{" data-end="}">
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a9b5784ca7ce9ab1ea46b303598f9987d"> 730</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3">mapped_type</a> &amp;<a class="code hl_function" href="classentt_1_1dense__map.html#a9b5784ca7ce9ab1ea46b303598f9987d">operator[]</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) {</div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"> 731</span> <span class="keywordflow">return</span> insert_or_do_nothing(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>).first-&gt;second;</div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno"> 732</span> }</div>
</div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"> 733</span> </div>
<div class="foldopen" id="foldopen00739" data-start="{" data-end="}">
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a19e0c8cdb0eef57582ce061a631b0a56"> 739</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3">mapped_type</a> &amp;<a class="code hl_function" href="classentt_1_1dense__map.html#a19e0c8cdb0eef57582ce061a631b0a56">operator[]</a>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) {</div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"> 740</span> <span class="keywordflow">return</span> insert_or_do_nothing(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>)).first-&gt;second;</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno"> 741</span> }</div>
</div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno"> 742</span> </div>
<div class="foldopen" id="foldopen00748" data-start="{" data-end="}">
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a4b5f56217b3b8eae9ad34334df1a931d"> 748</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a4b5f56217b3b8eae9ad34334df1a931d">count</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_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="l00749" name="l00749"></a><span class="lineno"> 749</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) != <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>();</div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno"> 750</span> }</div>
</div>
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"> 751</span> </div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"> 758</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno"> 759</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="foldopen00760" data-start="{" data-end="}">
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a3858017ba66ff9989fe2427065dd6d97"> 760</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a3858017ba66ff9989fe2427065dd6d97">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="l00761" name="l00761"></a><span class="lineno"> 761</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) != <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>();</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="foldopen00770" data-start="{" data-end="}">
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814"> 770</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) {</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"> 771</span> <span class="keywordflow">return</span> constrained_find(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>));</div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno"> 772</span> }</div>
</div>
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno"> 773</span> </div>
<div class="foldopen" id="foldopen00775" data-start="{" data-end="}">
<div class="line"><a id="l00775" name="l00775"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a5b47e5c447352298fca87921774c4a3d"> 775</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">const_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a5b47e5c447352298fca87921774c4a3d">find</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_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="l00776" name="l00776"></a><span class="lineno"> 776</span> <span class="keywordflow">return</span> constrained_find(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>));</div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno"> 777</span> }</div>
</div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno"> 778</span> </div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"> 787</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"> 788</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="foldopen00789" data-start="{" data-end="}">
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#abf771ba10ee17109769cecd68f0991c5"> 789</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#abf771ba10ee17109769cecd68f0991c5">find</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>) {</div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"> 790</span> <span class="keywordflow">return</span> constrained_find(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>));</div>
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno"> 791</span> }</div>
</div>
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno"> 792</span> </div>
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno"> 794</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno"> 795</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="foldopen00796" data-start="{" data-end="}">
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a4c611a71d59737c941b1aaf29e64c9b7"> 796</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a4c611a71d59737c941b1aaf29e64c9b7">find</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="l00797" name="l00797"></a><span class="lineno"> 797</span> <span class="keywordflow">return</span> constrained_find(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>, key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>));</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="foldopen00806" data-start="{" data-end="}">
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a77b33cb48b4784e336d87246701b2024"> 806</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__map.html#a77b33cb48b4784e336d87246701b2024">equal_range</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) {</div>
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno"> 807</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__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"> 808</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__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>())};</div>
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno"> 809</span> }</div>
</div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno"> 810</span> </div>
<div class="foldopen" id="foldopen00812" data-start="{" data-end="}">
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#af76ed82791a0f50d0f7aa0bcec46105b"> 812</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__map.html#af76ed82791a0f50d0f7aa0bcec46105b">equal_range</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_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="l00813" name="l00813"></a><span class="lineno"> 813</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__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</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__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>())};</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="line"><a id="l00825" name="l00825"></a><span class="lineno"> 825</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno"> 826</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="foldopen00827" data-start="{" data-end="}">
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a3d747a3b187a97814603e41ad37bf26e"> 827</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a3d747a3b187a97814603e41ad37bf26e">equal_range</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>) {</div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno"> 828</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__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00829" name="l00829"></a><span class="lineno"> 829</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__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>())};</div>
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno"> 830</span> }</div>
</div>
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno"> 831</span> </div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"> 833</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno"> 834</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="foldopen00835" data-start="{" data-end="}">
<div class="line"><a id="l00835" name="l00835"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a973f2399943dc681e617bb8b46e9244c"> 835</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a973f2399943dc681e617bb8b46e9244c">equal_range</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="l00836" name="l00836"></a><span class="lineno"> 836</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__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno"> 837</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__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>())};</div>
<div class="line"><a id="l00838" name="l00838"></a><span class="lineno"> 838</span> }</div>
</div>
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno"> 839</span> </div>
<div class="foldopen" id="foldopen00845" data-start="{" data-end="}">
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a4d884a2b7164b3df97d93dd2804222b0"> 845</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__map.html#a4d884a2b7164b3df97d93dd2804222b0">contains</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_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="l00846" name="l00846"></a><span class="lineno"> 846</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) != <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>());</div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno"> 847</span> }</div>
</div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno"> 848</span> </div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"> 856</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Other&gt;</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"> 857</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="foldopen00858" data-start="{" data-end="}">
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a20be7fc1cde4a3ae47f22333e3220200"> 858</a></span> <a class="code hl_function" href="classentt_1_1dense__map.html#a20be7fc1cde4a3ae47f22333e3220200">contains</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="l00859" name="l00859"></a><span class="lineno"> 859</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814">find</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>) != <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>());</div>
<div class="line"><a id="l00860" name="l00860"></a><span class="lineno"> 860</span> }</div>
</div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno"> 861</span> </div>
<div class="foldopen" id="foldopen00867" data-start="{" data-end="}">
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a9e9beebb937e95a40246455194c86c84"> 867</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a9e9beebb937e95a40246455194c86c84">cbegin</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00868" name="l00868"></a><span class="lineno"> 868</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="l00869" name="l00869"></a><span class="lineno"> 869</span> }</div>
</div>
<div class="line"><a id="l00870" name="l00870"></a><span class="lineno"> 870</span> </div>
<div class="foldopen" id="foldopen00876" data-start="{" data-end="}">
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a33900c670781f415f4eb0bfeb5be04a3"> 876</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a33900c670781f415f4eb0bfeb5be04a3">begin</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00877" name="l00877"></a><span class="lineno"> 877</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">cbegin</a>(index);</div>
<div class="line"><a id="l00878" name="l00878"></a><span class="lineno"> 878</span> }</div>
</div>
<div class="line"><a id="l00879" name="l00879"></a><span class="lineno"> 879</span> </div>
<div class="foldopen" id="foldopen00885" data-start="{" data-end="}">
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a4b71476135fb7147c02ec7a801564c72"> 885</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ad05e437f37f277cbe5c6121e67a4e89a">local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a4b71476135fb7147c02ec7a801564c72">begin</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index) {</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno"> 886</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="l00887" name="l00887"></a><span class="lineno"> 887</span> }</div>
</div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno"> 888</span> </div>
<div class="foldopen" id="foldopen00894" data-start="{" data-end="}">
<div class="line"><a id="l00894" name="l00894"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a8125ea2706a6208565a4d67f0e6efbed"> 894</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a8125ea2706a6208565a4d67f0e6efbed">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__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00895" name="l00895"></a><span class="lineno"> 895</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="l00896" name="l00896"></a><span class="lineno"> 896</span> }</div>
</div>
<div class="line"><a id="l00897" name="l00897"></a><span class="lineno"> 897</span> </div>
<div class="foldopen" id="foldopen00903" data-start="{" data-end="}">
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a3c36baa7b9aa7df7d3a07ca090319328"> 903</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394">const_local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a3c36baa7b9aa7df7d3a07ca090319328">end</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno"> 904</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">cend</a>(index);</div>
<div class="line"><a id="l00905" name="l00905"></a><span class="lineno"> 905</span> }</div>
</div>
<div class="line"><a id="l00906" name="l00906"></a><span class="lineno"> 906</span> </div>
<div class="foldopen" id="foldopen00912" data-start="{" data-end="}">
<div class="line"><a id="l00912" name="l00912"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ab971fb709972a0e26b95e4fdb89aa64e"> 912</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ad05e437f37f277cbe5c6121e67a4e89a">local_iterator</a> <a class="code hl_function" href="classentt_1_1dense__map.html#ab971fb709972a0e26b95e4fdb89aa64e">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__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index) {</div>
<div class="line"><a id="l00913" name="l00913"></a><span class="lineno"> 913</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="l00914" name="l00914"></a><span class="lineno"> 914</span> }</div>
</div>
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno"> 915</span> </div>
<div class="foldopen" id="foldopen00920" data-start="{" data-end="}">
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#aee246b41534137f279a11eb5e225a6e5"> 920</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#aee246b41534137f279a11eb5e225a6e5">bucket_count</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00921" name="l00921"></a><span class="lineno"> 921</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="l00922" name="l00922"></a><span class="lineno"> 922</span> }</div>
</div>
<div class="line"><a id="l00923" name="l00923"></a><span class="lineno"> 923</span> </div>
<div class="foldopen" id="foldopen00928" data-start="{" data-end="}">
<div class="line"><a id="l00928" name="l00928"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a4818548e35a239228a5fae77af01e7f5"> 928</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a4818548e35a239228a5fae77af01e7f5">max_bucket_count</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00929" name="l00929"></a><span class="lineno"> 929</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="l00930" name="l00930"></a><span class="lineno"> 930</span> }</div>
</div>
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno"> 931</span> </div>
<div class="foldopen" id="foldopen00937" data-start="{" data-end="}">
<div class="line"><a id="l00937" name="l00937"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ae094f65cda09d80851306f6a4bba7b50"> 937</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#ae094f65cda09d80851306f6a4bba7b50">bucket_size</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> index)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00938" name="l00938"></a><span class="lineno"> 938</span> <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a><span class="keyword">&gt;</span>(std::distance(<a class="code hl_function" href="classentt_1_1dense__map.html#a7c0e7de10687bc1e810d67ba6a91396d">begin</a>(index), <a class="code hl_function" href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">end</a>(index)));</div>
<div class="line"><a id="l00939" name="l00939"></a><span class="lineno"> 939</span> }</div>
</div>
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno"> 940</span> </div>
<div class="foldopen" id="foldopen00946" data-start="{" data-end="}">
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8"> 946</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">bucket</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">key_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="l00947" name="l00947"></a><span class="lineno"> 947</span> <span class="keywordflow">return</span> key_to_bucket(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">key</a>);</div>
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno"> 948</span> }</div>
</div>
<div class="line"><a id="l00949" name="l00949"></a><span class="lineno"> 949</span> </div>
<div class="foldopen" id="foldopen00954" data-start="{" data-end="}">
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a0ebd2095ae61e1908572efa33dc3df56"> 954</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__map.html#a0ebd2095ae61e1908572efa33dc3df56">load_factor</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00955" name="l00955"></a><span class="lineno"> 955</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21">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__map.html#aee246b41534137f279a11eb5e225a6e5">bucket_count</a>());</div>
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno"> 956</span> }</div>
</div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno"> 957</span> </div>
<div class="foldopen" id="foldopen00962" data-start="{" data-end="}">
<div class="line"><a id="l00962" name="l00962"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a54a2dd65d401a992fd91fb8a91faea86"> 962</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__map.html#a54a2dd65d401a992fd91fb8a91faea86">max_load_factor</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno"> 963</span> <span class="keywordflow">return</span> threshold;</div>
<div class="line"><a id="l00964" name="l00964"></a><span class="lineno"> 964</span> }</div>
</div>
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno"> 965</span> </div>
<div class="foldopen" id="foldopen00970" data-start="{" data-end="}">
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a608539db499acbc3a7548421ea5d8709"> 970</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a608539db499acbc3a7548421ea5d8709">max_load_factor</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> value) {</div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno"> 971</span> ENTT_ASSERT(value &gt; 0.f, <span class="stringliteral">&quot;Invalid load factor&quot;</span>);</div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"> 972</span> threshold = value;</div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno"> 973</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">rehash</a>(0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>);</div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno"> 974</span> }</div>
</div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno"> 975</span> </div>
<div class="foldopen" id="foldopen00981" data-start="{" data-end="}">
<div class="line"><a id="l00981" name="l00981"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b"> 981</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">rehash</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>) {</div>
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno"> 982</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="l00983" name="l00983"></a><span class="lineno"> 983</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__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a><span class="keyword">&gt;</span>(<a class="code hl_function" href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21">size</a>() / <a class="code hl_function" href="classentt_1_1dense__map.html#a54a2dd65d401a992fd91fb8a91faea86">max_load_factor</a>());</div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno"> 984</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="l00985" name="l00985"></a><span class="lineno"> 985</span> </div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno"> 986</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__map.html#aee246b41534137f279a11eb5e225a6e5">bucket_count</a>()) {</div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno"> 987</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="l00988" name="l00988"></a><span class="lineno"> 988</span> </div>
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno"> 989</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="l00990" name="l00990"></a><span class="lineno"> 990</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="l00991" name="l00991"></a><span class="lineno"> 991</span> }</div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno"> 992</span> </div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno"> 993</span> <span class="keywordflow">for</span>(<a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>{}, last = <a class="code hl_function" href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21">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="l00994" name="l00994"></a><span class="lineno"> 994</span> <span class="keyword">const</span> <span class="keyword">auto</span> index = key_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>].element.first);</div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"> 995</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>].next = 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="l00996" name="l00996"></a><span class="lineno"> 996</span> }</div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno"> 997</span> }</div>
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno"> 998</span> }</div>
</div>
<div class="line"><a id="l00999" name="l00999"></a><span class="lineno"> 999</span> </div>
<div class="foldopen" id="foldopen01005" data-start="{" data-end="}">
<div class="line"><a id="l01005" name="l01005"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#a47084f57549451518ef81a0f7cbdae0e"> 1005</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a47084f57549451518ef81a0f7cbdae0e">reserve</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cnt</a>) {</div>
<div class="line"><a id="l01006" name="l01006"></a><span class="lineno"> 1006</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="l01007" name="l01007"></a><span class="lineno"> 1007</span> <a class="code hl_function" href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">rehash</a>(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">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__map.html#a54a2dd65d401a992fd91fb8a91faea86">max_load_factor</a>())));</div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span> }</div>
</div>
<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"> 1009</span> </div>
<div class="foldopen" id="foldopen01014" data-start="{" data-end="}">
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#afa1426bfb2ff55c9c4d0471303fcf6cc"> 1014</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9">hasher</a> <a class="code hl_function" href="classentt_1_1dense__map.html#afa1426bfb2ff55c9c4d0471303fcf6cc">hash_function</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"> 1015</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="l01016" name="l01016"></a><span class="lineno"> 1016</span> }</div>
</div>
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"> 1017</span> </div>
<div class="foldopen" id="foldopen01022" data-start="{" data-end="}">
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"><a class="line" href="classentt_1_1dense__map.html#ac2039886ad16466a4f9928dc737cd711"> 1022</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">key_equal</a> <a class="code hl_function" href="classentt_1_1dense__map.html#ac2039886ad16466a4f9928dc737cd711">key_eq</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</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="l01024" name="l01024"></a><span class="lineno"> 1024</span> }</div>
</div>
<div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span> </div>
<div class="line"><a id="l01026" name="l01026"></a><span class="lineno"> 1026</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l01027" name="l01027"></a><span class="lineno"> 1027</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="l01028" name="l01028"></a><span class="lineno"> 1028</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="l01029" name="l01029"></a><span class="lineno"> 1029</span> <span class="keywordtype">float</span> threshold{default_threshold};</div>
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"> 1030</span>};</div>
</div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"> 1031</span> </div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"> 1032</span>} <span class="comment">// namespace entt</span></div>
</div>
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span> </div>
<div class="line"><a id="l01035" name="l01035"></a><span class="lineno"> 1035</span><span class="keyword">namespace </span>std {</div>
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"> 1036</span> </div>
<div class="line"><a id="l01037" name="l01037"></a><span class="lineno"> 1037</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Key, <span class="keyword">typename</span> Value, <span class="keyword">typename</span> Allocator&gt;</div>
<div class="line"><a id="l01038" name="l01038"></a><span class="lineno"> 1038</span><span class="keyword">struct </span>uses_allocator&lt;<a class="code hl_namespace" href="namespaceentt.html">entt</a>::internal::dense_map_node&lt;Key, Value&gt;, Allocator&gt;</div>
<div class="line"><a id="l01039" name="l01039"></a><span class="lineno"> 1039</span> : std::true_type {};</div>
<div class="line"><a id="l01040" name="l01040"></a><span class="lineno"> 1040</span> </div>
<div class="line"><a id="l01041" name="l01041"></a><span class="lineno"> 1041</span>} <span class="comment">// namespace std</span></div>
<div class="line"><a id="l01044" name="l01044"></a><span class="lineno"> 1044</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__map_html"><div class="ttname"><a href="classentt_1_1dense__map.html">entt::dense_map</a></div><div class="ttdoc">Associative container for key-value pairs with unique keys.</div><div class="ttdef"><b>Definition</b> <a href="#l00259">dense_map.hpp:259</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a07183a6c046d3a3b2e7201bd63aa8efe"><div class="ttname"><a href="classentt_1_1dense__map.html#a07183a6c046d3a3b2e7201bd63aa8efe">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(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="#l00407">dense_map.hpp:407</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a096357c0bdb6342d7d304716e41fcea5"><div class="ttname"><a href="classentt_1_1dense__map.html#a096357c0bdb6342d7d304716e41fcea5">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(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="#l00377">dense_map.hpp:377</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a096c30be0af8e15902f5585c8d1208b7"><div class="ttname"><a href="classentt_1_1dense__map.html#a096c30be0af8e15902f5585c8d1208b7">entt::dense_map::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="#l00527">dense_map.hpp:527</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a0ebd2095ae61e1908572efa33dc3df56"><div class="ttname"><a href="classentt_1_1dense__map.html#a0ebd2095ae61e1908572efa33dc3df56">entt::dense_map::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="#l00954">dense_map.hpp:954</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a12d1730a14bac304cbd173c05cb2cbf2"><div class="ttname"><a href="classentt_1_1dense__map.html#a12d1730a14bac304cbd173c05cb2cbf2">entt::dense_map::erase</a></div><div class="ttdeci">size_type erase(const key_type &amp;key)</div><div class="ttdoc">Removes the element associated with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00683">dense_map.hpp:683</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a19e0c8cdb0eef57582ce061a631b0a56"><div class="ttname"><a href="classentt_1_1dense__map.html#a19e0c8cdb0eef57582ce061a631b0a56">entt::dense_map::operator[]</a></div><div class="ttdeci">mapped_type &amp; operator[](key_type &amp;&amp;key)</div><div class="ttdoc">Accesses or inserts a given element.</div><div class="ttdef"><b>Definition</b> <a href="#l00739">dense_map.hpp:739</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a20be7fc1cde4a3ae47f22333e3220200"><div class="ttname"><a href="classentt_1_1dense__map.html#a20be7fc1cde4a3ae47f22333e3220200">entt::dense_map::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;key) const</div><div class="ttdoc">Checks if the container contains an element with a key that compares equivalent to a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00858">dense_map.hpp:858</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a2cef5e32d1e4575669c9afcf6bcbedc5"><div class="ttname"><a href="classentt_1_1dense__map.html#a2cef5e32d1e4575669c9afcf6bcbedc5">entt::dense_map::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="#l00469">dense_map.hpp:469</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a33900c670781f415f4eb0bfeb5be04a3"><div class="ttname"><a href="classentt_1_1dense__map.html#a33900c670781f415f4eb0bfeb5be04a3">entt::dense_map::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="#l00876">dense_map.hpp:876</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a3858017ba66ff9989fe2427065dd6d97"><div class="ttname"><a href="classentt_1_1dense__map.html#a3858017ba66ff9989fe2427065dd6d97">entt::dense_map::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="#l00760">dense_map.hpp:760</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a38b10511f585724b7eb6e5f9556dea21"><div class="ttname"><a href="classentt_1_1dense__map.html#a38b10511f585724b7eb6e5f9556dea21">entt::dense_map::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="#l00514">dense_map.hpp:514</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a38ef651a1992486e3d2151e7829777f1"><div class="ttname"><a href="classentt_1_1dense__map.html#a38ef651a1992486e3d2151e7829777f1">entt::dense_map::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="#l00355">dense_map.hpp:355</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a3c36baa7b9aa7df7d3a07ca090319328"><div class="ttname"><a href="classentt_1_1dense__map.html#a3c36baa7b9aa7df7d3a07ca090319328">entt::dense_map::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="#l00903">dense_map.hpp:903</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a3c94e139b8d65ac65df36161183a8a49"><div class="ttname"><a href="classentt_1_1dense__map.html#a3c94e139b8d65ac65df36161183a8a49">entt::dense_map::insert</a></div><div class="ttdeci">void insert(It first, It last)</div><div class="ttdoc">Inserts elements into the container, if their keys do not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00566">dense_map.hpp:566</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a3d747a3b187a97814603e41ad37bf26e"><div class="ttname"><a href="classentt_1_1dense__map.html#a3d747a3b187a97814603e41ad37bf26e">entt::dense_map::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;key)</div><div class="ttdoc">Returns a range containing all elements that compare equivalent to a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00827">dense_map.hpp:827</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a3decbf479ab29fe63161d66299ef20af"><div class="ttname"><a href="classentt_1_1dense__map.html#a3decbf479ab29fe63161d66299ef20af">entt::dense_map::operator=</a></div><div class="ttdeci">dense_map &amp; operator=(dense_map &amp;&amp;) noexcept=default</div><div class="ttdoc">Default move assignment operator.</div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a413f21b4eee0336277f24de044fe8cb6"><div class="ttname"><a href="classentt_1_1dense__map.html#a413f21b4eee0336277f24de044fe8cb6">entt::dense_map::at</a></div><div class="ttdeci">const mapped_type &amp; at(const key_type &amp;key) const</div><div class="ttdoc">Accesses a given element with bounds checking.</div><div class="ttdef"><b>Definition</b> <a href="#l00719">dense_map.hpp:719</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a41a26ee3be60abf7b5ecf16c99948086"><div class="ttname"><a href="classentt_1_1dense__map.html#a41a26ee3be60abf7b5ecf16c99948086">entt::dense_map::key_equal</a></div><div class="ttdeci">KeyEqual key_equal</div><div class="ttdoc">Type of function to use to compare the keys for equality.</div><div class="ttdef"><b>Definition</b> <a href="#l00359">dense_map.hpp:359</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a45843ecba66cc9692ae4facac5461e4d"><div class="ttname"><a href="classentt_1_1dense__map.html#a45843ecba66cc9692ae4facac5461e4d">entt::dense_map::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="#l00522">dense_map.hpp:522</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a468bf103c5f4779ee24d002576150689"><div class="ttname"><a href="classentt_1_1dense__map.html#a468bf103c5f4779ee24d002576150689">entt::dense_map::at</a></div><div class="ttdeci">mapped_type &amp; at(const key_type &amp;key)</div><div class="ttdoc">Accesses a given element with bounds checking.</div><div class="ttdef"><b>Definition</b> <a href="#l00712">dense_map.hpp:712</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a47084f57549451518ef81a0f7cbdae0e"><div class="ttname"><a href="classentt_1_1dense__map.html#a47084f57549451518ef81a0f7cbdae0e">entt::dense_map::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="#l01005">dense_map.hpp:1005</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a4818548e35a239228a5fae77af01e7f5"><div class="ttname"><a href="classentt_1_1dense__map.html#a4818548e35a239228a5fae77af01e7f5">entt::dense_map::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="#l00928">dense_map.hpp:928</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a49bb9a8de8e27cff97395d4fc527ad04"><div class="ttname"><a href="classentt_1_1dense__map.html#a49bb9a8de8e27cff97395d4fc527ad04">entt::dense_map::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="#l00668">dense_map.hpp:668</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a4b5f56217b3b8eae9ad34334df1a931d"><div class="ttname"><a href="classentt_1_1dense__map.html#a4b5f56217b3b8eae9ad34334df1a931d">entt::dense_map::count</a></div><div class="ttdeci">size_type count(const key_type &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="#l00748">dense_map.hpp:748</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a4b71476135fb7147c02ec7a801564c72"><div class="ttname"><a href="classentt_1_1dense__map.html#a4b71476135fb7147c02ec7a801564c72">entt::dense_map::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="#l00885">dense_map.hpp:885</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a4c611a71d59737c941b1aaf29e64c9b7"><div class="ttname"><a href="classentt_1_1dense__map.html#a4c611a71d59737c941b1aaf29e64c9b7">entt::dense_map::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;key) const</div><div class="ttdoc">Finds an element with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00796">dense_map.hpp:796</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a4d884a2b7164b3df97d93dd2804222b0"><div class="ttname"><a href="classentt_1_1dense__map.html#a4d884a2b7164b3df97d93dd2804222b0">entt::dense_map::contains</a></div><div class="ttdeci">bool contains(const key_type &amp;key) const</div><div class="ttdoc">Checks if the container contains an element with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00845">dense_map.hpp:845</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a5123c811e7090df1a793e9bc1821d2e5"><div class="ttname"><a href="classentt_1_1dense__map.html#a5123c811e7090df1a793e9bc1821d2e5">entt::dense_map::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="#l00488">dense_map.hpp:488</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a524c65b19c282b4a2bce0434facca4c5"><div class="ttname"><a href="classentt_1_1dense__map.html#a524c65b19c282b4a2bce0434facca4c5">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(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="#l00386">dense_map.hpp:386</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a53111b5614ea1d29d8396279ebfd7d3e"><div class="ttname"><a href="classentt_1_1dense__map.html#a53111b5614ea1d29d8396279ebfd7d3e">entt::dense_map::try_emplace</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; try_emplace(const key_type &amp;key, Args &amp;&amp;...args)</div><div class="ttdoc">Inserts in-place if the key does not exist, does nothing if the key exists.</div><div class="ttdef"><b>Definition</b> <a href="#l00641">dense_map.hpp:641</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a54a2dd65d401a992fd91fb8a91faea86"><div class="ttname"><a href="classentt_1_1dense__map.html#a54a2dd65d401a992fd91fb8a91faea86">entt::dense_map::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="#l00962">dense_map.hpp:962</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a5b47e5c447352298fca87921774c4a3d"><div class="ttname"><a href="classentt_1_1dense__map.html#a5b47e5c447352298fca87921774c4a3d">entt::dense_map::find</a></div><div class="ttdeci">const_iterator find(const key_type &amp;key) const</div><div class="ttdoc">Finds an element with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00775">dense_map.hpp:775</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a5c236223418b9ef327397424e2df24f8"><div class="ttname"><a href="classentt_1_1dense__map.html#a5c236223418b9ef327397424e2df24f8">entt::dense_map::const_iterator</a></div><div class="ttdeci">internal::dense_map_iterator&lt; typename packed_container_type::const_iterator &gt; const_iterator</div><div class="ttdoc">Constant input iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00363">dense_map.hpp:363</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a608539db499acbc3a7548421ea5d8709"><div class="ttname"><a href="classentt_1_1dense__map.html#a608539db499acbc3a7548421ea5d8709">entt::dense_map::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="#l00970">dense_map.hpp:970</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a6ee333a078e7bc2b1035a911aff3b7ed"><div class="ttname"><a href="classentt_1_1dense__map.html#a6ee333a078e7bc2b1035a911aff3b7ed">entt::dense_map::operator=</a></div><div class="ttdeci">dense_map &amp; operator=(const dense_map &amp;)=default</div><div class="ttdoc">Default copy assignment operator.</div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a71e1a562a523572405bbf0a53bb8535d"><div class="ttname"><a href="classentt_1_1dense__map.html#a71e1a562a523572405bbf0a53bb8535d">entt::dense_map::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 the key does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00545">dense_map.hpp:545</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a77aa062268245a84c4c27dcc01839814"><div class="ttname"><a href="classentt_1_1dense__map.html#a77aa062268245a84c4c27dcc01839814">entt::dense_map::find</a></div><div class="ttdeci">iterator find(const key_type &amp;key)</div><div class="ttdoc">Finds an element with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00770">dense_map.hpp:770</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a77b33cb48b4784e336d87246701b2024"><div class="ttname"><a href="classentt_1_1dense__map.html#a77b33cb48b4784e336d87246701b2024">entt::dense_map::equal_range</a></div><div class="ttdeci">std::pair&lt; iterator, iterator &gt; equal_range(const key_type &amp;key)</div><div class="ttdoc">Returns a range containing all elements with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00806">dense_map.hpp:806</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a7c0e7de10687bc1e810d67ba6a91396d"><div class="ttname"><a href="classentt_1_1dense__map.html#a7c0e7de10687bc1e810d67ba6a91396d">entt::dense_map::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="#l00474">dense_map.hpp:474</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a7cdfe85f102518543b7a684c9e8e3bd3"><div class="ttname"><a href="classentt_1_1dense__map.html#a7cdfe85f102518543b7a684c9e8e3bd3">entt::dense_map::mapped_type</a></div><div class="ttdeci">Type mapped_type</div><div class="ttdoc">Mapped type of the container.</div><div class="ttdef"><b>Definition</b> <a href="#l00351">dense_map.hpp:351</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a7cea2e02e86eec9421ddaab64f15db6b"><div class="ttname"><a href="classentt_1_1dense__map.html#a7cea2e02e86eec9421ddaab64f15db6b">entt::dense_map::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="#l00981">dense_map.hpp:981</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a8125ea2706a6208565a4d67f0e6efbed"><div class="ttname"><a href="classentt_1_1dense__map.html#a8125ea2706a6208565a4d67f0e6efbed">entt::dense_map::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="#l00894">dense_map.hpp:894</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a83036e3f167d28ba9afa943271fb5587"><div class="ttname"><a href="classentt_1_1dense__map.html#a83036e3f167d28ba9afa943271fb5587">entt::dense_map::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="#l00656">dense_map.hpp:656</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a832dc73529e19f662f63c583a5fbd340"><div class="ttname"><a href="classentt_1_1dense__map.html#a832dc73529e19f662f63c583a5fbd340">entt::dense_map::swap</a></div><div class="ttdeci">void swap(dense_map &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="#l00700">dense_map.hpp:700</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a8924f4faaa1879a84734ec58f11e6662"><div class="ttname"><a href="classentt_1_1dense__map.html#a8924f4faaa1879a84734ec58f11e6662">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(const dense_map &amp;other, const allocator_type &amp;allocator)</div><div class="ttdoc">Allocator-extended copy constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00421">dense_map.hpp:421</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a92eced5574b8354b8357f79faf16fc23"><div class="ttname"><a href="classentt_1_1dense__map.html#a92eced5574b8354b8357f79faf16fc23">entt::dense_map::insert</a></div><div class="ttdeci">std::enable_if_t&lt; std::is_constructible_v&lt; value_type, Arg &amp;&amp; &gt;, std::pair&lt; iterator, bool &gt; &gt; insert(Arg &amp;&amp;value)</div><div class="ttdoc">Inserts an element into the container, if the key does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00555">dense_map.hpp:555</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a973f2399943dc681e617bb8b46e9244c"><div class="ttname"><a href="classentt_1_1dense__map.html#a973f2399943dc681e617bb8b46e9244c">entt::dense_map::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;key) const</div><div class="ttdoc">Returns a range containing all elements with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00835">dense_map.hpp:835</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a9a591d419dd5649e52907a3032f8c0b8"><div class="ttname"><a href="classentt_1_1dense__map.html#a9a591d419dd5649e52907a3032f8c0b8">entt::dense_map::bucket</a></div><div class="ttdeci">size_type bucket(const key_type &amp;key) const</div><div class="ttdoc">Returns the bucket for a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00946">dense_map.hpp:946</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a9a9522dcd518bd3d73769d80d35606db"><div class="ttname"><a href="classentt_1_1dense__map.html#a9a9522dcd518bd3d73769d80d35606db">entt::dense_map::insert_or_assign</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; insert_or_assign(key_type &amp;&amp;key, Arg &amp;&amp;value)</div><div class="ttdoc">Inserts an element into the container or assigns to the current element if the key already exists.</div><div class="ttdef"><b>Definition</b> <a href="#l00588">dense_map.hpp:588</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a9b5784ca7ce9ab1ea46b303598f9987d"><div class="ttname"><a href="classentt_1_1dense__map.html#a9b5784ca7ce9ab1ea46b303598f9987d">entt::dense_map::operator[]</a></div><div class="ttdeci">mapped_type &amp; operator[](const key_type &amp;key)</div><div class="ttdoc">Accesses or inserts a given element.</div><div class="ttdef"><b>Definition</b> <a href="#l00730">dense_map.hpp:730</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a9cd5632c26bf5281cfbbd7fbd9f85bf5"><div class="ttname"><a href="classentt_1_1dense__map.html#a9cd5632c26bf5281cfbbd7fbd9f85bf5">entt::dense_map::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="#l00458">dense_map.hpp:458</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_a9e9beebb937e95a40246455194c86c84"><div class="ttname"><a href="classentt_1_1dense__map.html#a9e9beebb937e95a40246455194c86c84">entt::dense_map::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="#l00867">dense_map.hpp:867</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_aa53501af8bfd66b6bf45e8cfa844e180"><div class="ttname"><a href="classentt_1_1dense__map.html#aa53501af8bfd66b6bf45e8cfa844e180">entt::dense_map::value_type</a></div><div class="ttdeci">std::pair&lt; const Key, Type &gt; value_type</div><div class="ttdoc">Key-value type of the container.</div><div class="ttdef"><b>Definition</b> <a href="#l00353">dense_map.hpp:353</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_aaa72d92d87e8020e0ca5f035cd665d8b"><div class="ttname"><a href="classentt_1_1dense__map.html#aaa72d92d87e8020e0ca5f035cd665d8b">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(const dense_map &amp;)=default</div><div class="ttdoc">Default copy constructor.</div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_aafff57a203cd3fc561320bad6eeea0c3"><div class="ttname"><a href="classentt_1_1dense__map.html#aafff57a203cd3fc561320bad6eeea0c3">entt::dense_map::insert_or_assign</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; insert_or_assign(const key_type &amp;key, Arg &amp;&amp;value)</div><div class="ttdoc">Inserts an element into the container or assigns to the current element if the key already exists.</div><div class="ttdef"><b>Definition</b> <a href="#l00582">dense_map.hpp:582</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ab0dfc292981ab6694cd4609879a80dbc"><div class="ttname"><a href="classentt_1_1dense__map.html#ab0dfc292981ab6694cd4609879a80dbc">entt::dense_map::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 the key does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00606">dense_map.hpp:606</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ab2b0e98c01ad728022e5388535333fb1"><div class="ttname"><a href="classentt_1_1dense__map.html#ab2b0e98c01ad728022e5388535333fb1">entt::dense_map::try_emplace</a></div><div class="ttdeci">std::pair&lt; iterator, bool &gt; try_emplace(key_type &amp;&amp;key, Args &amp;&amp;...args)</div><div class="ttdoc">Inserts in-place if the key does not exist, does nothing if the key exists.</div><div class="ttdef"><b>Definition</b> <a href="#l00647">dense_map.hpp:647</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ab971fb709972a0e26b95e4fdb89aa64e"><div class="ttname"><a href="classentt_1_1dense__map.html#ab971fb709972a0e26b95e4fdb89aa64e">entt::dense_map::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="#l00912">dense_map.hpp:912</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_abf771ba10ee17109769cecd68f0991c5"><div class="ttname"><a href="classentt_1_1dense__map.html#abf771ba10ee17109769cecd68f0991c5">entt::dense_map::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;key)</div><div class="ttdoc">Finds an element with a key that compares equivalent to a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00789">dense_map.hpp:789</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ac2039886ad16466a4f9928dc737cd711"><div class="ttname"><a href="classentt_1_1dense__map.html#ac2039886ad16466a4f9928dc737cd711">entt::dense_map::key_eq</a></div><div class="ttdeci">key_equal key_eq() const</div><div class="ttdoc">Returns the function used to compare keys for equality.</div><div class="ttdef"><b>Definition</b> <a href="#l01022">dense_map.hpp:1022</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_acb47beb8b4689e0e09e7527bd537f69b"><div class="ttname"><a href="classentt_1_1dense__map.html#acb47beb8b4689e0e09e7527bd537f69b">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(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="#l00396">dense_map.hpp:396</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_acc07b299f15a57db885089cc1a31322d"><div class="ttname"><a href="classentt_1_1dense__map.html#acc07b299f15a57db885089cc1a31322d">entt::dense_map::iterator</a></div><div class="ttdeci">internal::dense_map_iterator&lt; typename packed_container_type::iterator &gt; iterator</div><div class="ttdoc">Input iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00361">dense_map.hpp:361</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ad05e437f37f277cbe5c6121e67a4e89a"><div class="ttname"><a href="classentt_1_1dense__map.html#ad05e437f37f277cbe5c6121e67a4e89a">entt::dense_map::local_iterator</a></div><div class="ttdeci">internal::dense_map_local_iterator&lt; typename packed_container_type::iterator &gt; local_iterator</div><div class="ttdoc">Input iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00365">dense_map.hpp:365</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ad43ca6e61d09cd9f55c684c659dd74cc"><div class="ttname"><a href="classentt_1_1dense__map.html#ad43ca6e61d09cd9f55c684c659dd74cc">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map(dense_map &amp;&amp;) noexcept=default</div><div class="ttdoc">Default move constructor.</div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ad699469dc43bfd00d9ea86c686afb394"><div class="ttname"><a href="classentt_1_1dense__map.html#ad699469dc43bfd00d9ea86c686afb394">entt::dense_map::const_local_iterator</a></div><div class="ttdeci">internal::dense_map_local_iterator&lt; typename packed_container_type::const_iterator &gt; const_local_iterator</div><div class="ttdoc">Constant input iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00367">dense_map.hpp:367</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ad6f1227e06bf48744b46b3fe251d72f2"><div class="ttname"><a href="classentt_1_1dense__map.html#ad6f1227e06bf48744b46b3fe251d72f2">entt::dense_map::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="#l00506">dense_map.hpp:506</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ada4ac1f5a3295d80d8bb4fa6387023db"><div class="ttname"><a href="classentt_1_1dense__map.html#ada4ac1f5a3295d80d8bb4fa6387023db">entt::dense_map::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 the key does not exist.</div><div class="ttdef"><b>Definition</b> <a href="#l00540">dense_map.hpp:540</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_adc7feba2153b3764cc7789f31b926d78"><div class="ttname"><a href="classentt_1_1dense__map.html#adc7feba2153b3764cc7789f31b926d78">entt::dense_map::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="#l00347">dense_map.hpp:347</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ae094f65cda09d80851306f6a4bba7b50"><div class="ttname"><a href="classentt_1_1dense__map.html#ae094f65cda09d80851306f6a4bba7b50">entt::dense_map::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="#l00937">dense_map.hpp:937</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_ae62722d472417185388e952655b120e9"><div class="ttname"><a href="classentt_1_1dense__map.html#ae62722d472417185388e952655b120e9">entt::dense_map::hasher</a></div><div class="ttdeci">Hash hasher</div><div class="ttdoc">Type of function to use to hash the keys.</div><div class="ttdef"><b>Definition</b> <a href="#l00357">dense_map.hpp:357</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_aeb9e305df1fc9e886d6c761324dc15ab"><div class="ttname"><a href="classentt_1_1dense__map.html#aeb9e305df1fc9e886d6c761324dc15ab">entt::dense_map::key_type</a></div><div class="ttdeci">Key key_type</div><div class="ttdoc">Key type of the container.</div><div class="ttdef"><b>Definition</b> <a href="#l00349">dense_map.hpp:349</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_aee246b41534137f279a11eb5e225a6e5"><div class="ttname"><a href="classentt_1_1dense__map.html#aee246b41534137f279a11eb5e225a6e5">entt::dense_map::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="#l00920">dense_map.hpp:920</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_af163bec2cf56f3571000a5fc0145832f"><div class="ttname"><a href="classentt_1_1dense__map.html#af163bec2cf56f3571000a5fc0145832f">entt::dense_map::dense_map</a></div><div class="ttdeci">dense_map()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00370">dense_map.hpp:370</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_af2d0aa858937c74139ff7f48be924268"><div class="ttname"><a href="classentt_1_1dense__map.html#af2d0aa858937c74139ff7f48be924268">entt::dense_map::~dense_map</a></div><div class="ttdeci">~dense_map()=default</div><div class="ttdoc">Default destructor.</div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_af76ed82791a0f50d0f7aa0bcec46105b"><div class="ttname"><a href="classentt_1_1dense__map.html#af76ed82791a0f50d0f7aa0bcec46105b">entt::dense_map::equal_range</a></div><div class="ttdeci">std::pair&lt; const_iterator, const_iterator &gt; equal_range(const key_type &amp;key) const</div><div class="ttdoc">Returns a range containing all elements with a given key.</div><div class="ttdef"><b>Definition</b> <a href="#l00812">dense_map.hpp:812</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_afa1426bfb2ff55c9c4d0471303fcf6cc"><div class="ttname"><a href="classentt_1_1dense__map.html#afa1426bfb2ff55c9c4d0471303fcf6cc">entt::dense_map::hash_function</a></div><div class="ttdeci">hasher hash_function() const</div><div class="ttdoc">Returns the function used to hash the keys.</div><div class="ttdef"><b>Definition</b> <a href="#l01014">dense_map.hpp:1014</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_afa80b6dff4ba1f455fabec3ff197e8c5"><div class="ttname"><a href="classentt_1_1dense__map.html#afa80b6dff4ba1f455fabec3ff197e8c5">entt::dense_map::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="#l00493">dense_map.hpp:493</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_afb7f0ff4d0988673a027ac0e0348b216"><div class="ttname"><a href="classentt_1_1dense__map.html#afb7f0ff4d0988673a027ac0e0348b216">entt::dense_map::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="#l00479">dense_map.hpp:479</a></div></div>
<div class="ttc" id="aclassentt_1_1dense__map_html_afd4ff12e8b032e6ca5519557d07d1178"><div class="ttname"><a href="classentt_1_1dense__map.html#afd4ff12e8b032e6ca5519557d07d1178">entt::dense_map::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="#l00498">dense_map.hpp:498</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="#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 class="ttc" id="astructentt_1_1input__iterator__pointer_html"><div class="ttname"><a href="structentt_1_1input__iterator__pointer.html">entt::input_iterator_pointer</a></div><div class="ttdoc">Helper type to use as pointer with input iterators.</div><div class="ttdef"><b>Definition</b> <a href="iterator_8hpp_source.html#l00016">iterator.hpp:16</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>