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

1192 lines
301 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/entity/storage.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_e3a7bb56c55e5c2286e2fe96e197d4f5.html">entity</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">storage.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_ENTITY_STORAGE_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_ENTITY_STORAGE_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;cstddef&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;iterator&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;tuple&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;../config/config.h&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &quot;../core/bit.hpp&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &quot;../core/iterator.hpp&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;../core/memory.hpp&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include &quot;../core/type_info.hpp&quot;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include &quot;component.hpp&quot;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include &quot;entity.hpp&quot;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &quot;fwd.hpp&quot;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include &quot;sparse_set.hpp&quot;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="keyword">namespace </span>internal {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Container&gt;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">class </span>storage_iterator final {</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">friend</span> storage_iterator&lt;const Container&gt;;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">using </span>container_type = std::remove_const_t&lt;Container&gt;;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits&lt;typename container_type::allocator_type&gt;;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">using </span>iterator_traits = std::iterator_traits&lt;std::conditional_t&lt;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> std::is_const_v&lt;Container&gt;,</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">typename</span> alloc_traits::template rebind_traits&lt;typename std::pointer_traits&lt;typename container_type::value_type&gt;::element_type&gt;::const_pointer,</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">typename</span> alloc_traits::template rebind_traits&lt;typename std::pointer_traits&lt;typename container_type::value_type&gt;::element_type&gt;::pointer&gt;&gt;;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">using </span>value_type = <span class="keyword">typename</span> iterator_traits::value_type;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">using </span>pointer = <span class="keyword">typename</span> iterator_traits::pointer;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">using </span>reference = <span class="keyword">typename</span> iterator_traits::reference;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">using </span>difference_type = <span class="keyword">typename</span> iterator_traits::difference_type;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">using </span>iterator_category = std::random_access_iterator_tag;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">constexpr</span> storage_iterator() noexcept = default;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> constexpr storage_iterator(Container *ref, const difference_type idx) noexcept</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> : payload{<a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>},</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> offset{idx} {}</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">template</span>&lt;<span class="keywordtype">bool</span> Const = std::is_const_v&lt;Container&gt;, <span class="keyword">typename</span> = std::enable_if_t&lt;Const&gt;&gt;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">constexpr</span> storage_iterator(<span class="keyword">const</span> storage_iterator&lt;std::remove_const_t&lt;Container&gt;&gt; &amp;other) noexcept</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> : storage_iterator{other.payload, other.offset} {}</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">constexpr</span> storage_iterator &amp;operator++() noexcept {</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">return</span> --offset, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> }</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">constexpr</span> storage_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> storage_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordflow">return</span> ++(*this), orig;</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> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">constexpr</span> storage_iterator &amp;operator--() noexcept {</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keywordflow">return</span> ++offset, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> }</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">constexpr</span> storage_iterator operator--(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> storage_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keywordflow">return</span> operator--(), orig;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> }</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">constexpr</span> storage_iterator &amp;operator+=(<span class="keyword">const</span> difference_type value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> offset -= value;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</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> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">constexpr</span> storage_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="l00079" name="l00079"></a><span class="lineno"> 79</span> storage_iterator copy = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordflow">return</span> (copy += value);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> }</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">constexpr</span> storage_iterator &amp;operator-=(<span class="keyword">const</span> difference_type value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">return</span> (*<span class="keyword">this</span> += -value);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> }</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">constexpr</span> storage_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="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">return</span> (*<span class="keyword">this</span> + -value);</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> }</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator[](<span class="keyword">const</span> difference_type value) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">const</span> <span class="keyword">auto</span> pos = index() - value;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> page_size = component_traits&lt;value_type&gt;::page_size;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">return</span> (*payload)[pos / page_size][<a class="code hl_function" href="namespaceentt.html#a1ae98eeee0b0cb3e94d97d08a74a06f0">fast_mod</a>(<span class="keyword">static_cast&lt;</span>std::size_t<span class="keyword">&gt;</span>(pos), page_size)];</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> }</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> [[nodiscard]] <span class="keyword">constexpr</span> pointer operator-&gt;() const noexcept {</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">return</span> std::addressof(<span class="keyword">operator</span>[](0));</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> }</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator*() const noexcept {</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keywordflow">return</span> operator[](0);</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> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> [[nodiscard]] <span class="keyword">constexpr</span> difference_type index() const noexcept {</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">return</span> offset - 1;</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">private</span>:</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> Container *payload;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> difference_type offset;</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> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</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="l00115" name="l00115"></a><span class="lineno"> 115</span>[[nodiscard]] <span class="keyword">constexpr</span> std::ptrdiff_t operator-(<span class="keyword">const</span> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordflow">return</span> rhs.index() - lhs.index();</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span>}</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</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="l00120" name="l00120"></a><span class="lineno"> 120</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> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">return</span> lhs.index() == rhs.index();</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span>}</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</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="l00125" name="l00125"></a><span class="lineno"> 125</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> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <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> !(lhs == rhs);</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>[[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> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="keywordflow">return</span> lhs.index() &gt; rhs.index();</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span>}</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</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="l00135" name="l00135"></a><span class="lineno"> 135</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> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">return</span> rhs &lt; lhs;</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> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</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="l00140" name="l00140"></a><span class="lineno"> 140</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> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <span class="keywordflow">return</span> !(lhs &gt; rhs);</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>}</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</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="l00145" name="l00145"></a><span class="lineno"> 145</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> storage_iterator&lt;Lhs&gt; &amp;lhs, <span class="keyword">const</span> storage_iterator&lt;Rhs&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <span class="keywordflow">return</span> !(lhs &lt; rhs);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span>}</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> It, <span class="keyword">typename</span>... Other&gt;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span><span class="keyword">class </span>extended_storage_iterator final {</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iter, <span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">friend</span> <span class="keyword">class </span>extended_storage_iterator;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">using </span>iterator_type = It;</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keyword">using </span>value_type = <span class="keyword">decltype</span>(std::tuple_cat(std::make_tuple(*std::declval&lt;It&gt;()), std::forward_as_tuple(*std::declval&lt;Other&gt;()...)));</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">using </span>pointer = input_iterator_pointer&lt;value_type&gt;;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">using </span>reference = value_type;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">using </span>difference_type = std::ptrdiff_t;</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keyword">using </span>iterator_category = std::input_iterator_tag;</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">using </span>iterator_concept = std::forward_iterator_tag;</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">constexpr</span> extended_storage_iterator()</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> : it{} {}</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> <span class="keyword">constexpr</span> extended_storage_iterator(iterator_type base, Other... other)</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> : it{base, other...} {}</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Args, <span class="keyword">typename</span> = std::enable_if_t&lt;(!std::is_same_v&lt;Other, Args&gt; &amp;&amp; ...) &amp;&amp; (std::is_constructible_v&lt;Other, Args&gt; &amp;&amp; ...)&gt;&gt;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <span class="keyword">constexpr</span> extended_storage_iterator(<span class="keyword">const</span> extended_storage_iterator&lt;It, Args...&gt; &amp;other)</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> : it{other.it} {}</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="keyword">constexpr</span> extended_storage_iterator &amp;operator++() noexcept {</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> ++std::get&lt;It&gt;(it), (++std::get&lt;Other&gt;(it), ...), *<span class="keyword">this</span>;</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">constexpr</span> extended_storage_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> extended_storage_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keywordflow">return</span> ++(*this), orig;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> }</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> [[nodiscard]] <span class="keyword">constexpr</span> pointer operator-&gt;() const noexcept {</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">return</span> operator*();</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> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> [[nodiscard]] <span class="keyword">constexpr</span> reference operator*() const noexcept {</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordflow">return</span> {*std::get&lt;It&gt;(it), *std::get&lt;Other&gt;(it)...};</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> }</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> [[nodiscard]] <span class="keyword">constexpr</span> iterator_type base() const noexcept {</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="keywordflow">return</span> std::get&lt;It&gt;(it);</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> }</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Lhs, <span class="keyword">typename</span>... Rhs&gt;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <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> extended_storage_iterator&lt;Lhs...&gt; &amp;, <span class="keyword">const</span> extended_storage_iterator&lt;Rhs...&gt; &amp;) <span class="keyword">noexcept</span>;</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">private</span>:</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> std::tuple&lt;It, Other...&gt; it;</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span>};</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>... Lhs, <span class="keyword">typename</span>... Rhs&gt;</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</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> extended_storage_iterator&lt;Lhs...&gt; &amp;lhs, <span class="keyword">const</span> extended_storage_iterator&lt;Rhs...&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> <span class="keywordflow">return</span> std::get&lt;0&gt;(lhs.it) == std::get&lt;0&gt;(rhs.it);</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span>}</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">template</span>&lt;<span class="keyword">typename</span>... Lhs, <span class="keyword">typename</span>... Rhs&gt;</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</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> extended_storage_iterator&lt;Lhs...&gt; &amp;lhs, <span class="keyword">const</span> extended_storage_iterator&lt;Rhs...&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="keywordflow">return</span> !(lhs == rhs);</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> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span>} <span class="comment">// namespace internal</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span> Entity, <span class="keyword">typename</span> Allocator, <span class="keyword">typename</span>&gt;</div>
<div class="foldopen" id="foldopen00230" data-start="{" data-end="};">
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html"> 230</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>: <span class="keyword">public</span> <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">basic_sparse_set</a>&lt;Entity, typename std::allocator_traits&lt;Allocator&gt;::template rebind_alloc&lt;Entity&gt;&gt; {</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits&lt;Allocator&gt;;</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keyword">static_assert</span>(std::is_same_v&lt;typename alloc_traits::value_type, Type&gt;, <span class="stringliteral">&quot;Invalid value type&quot;</span>);</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> <span class="keyword">using </span>container_type = std::vector&lt;typename alloc_traits::pointer, typename alloc_traits::template rebind_alloc&lt;typename alloc_traits::pointer&gt;&gt;;</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1basic__sparse__set.html">underlying_type</a> = <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">basic_sparse_set&lt;Entity, typename alloc_traits::template rebind_alloc&lt;Entity&gt;</a>&gt;;</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="keyword">using </span>underlying_iterator = <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1basic__sparse__set.html#ac56bb654b47a648d64a754d85c70b40a">underlying_type::basic_iterator</a>;</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1component__traits.html">traits_type</a> = <a class="code hl_struct" href="structentt_1_1component__traits.html">component_traits&lt;Type&gt;</a>;</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">auto</span> &amp;element_at(<span class="keyword">const</span> std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordflow">return</span> payload[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> / <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>][<a class="code hl_function" href="namespaceentt.html#a1ae98eeee0b0cb3e94d97d08a74a06f0">fast_mod</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>, <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>)];</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="keyword">auto</span> assure_at_least(<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="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">idx</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> / <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>;</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keywordflow">if</span>(!(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">idx</a> &lt; payload.size())) {</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> = payload.size();</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>{<a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>()};</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> payload.resize(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">idx</a> + 1u, <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> ENTT_TRY {</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> last = payload.size(); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> &lt; last; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>) {</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> payload[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>] = alloc_traits::allocate(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>);</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> }</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> }</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> ENTT_CATCH {</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> payload.resize(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>);</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> ENTT_THROW;</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> }</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> }</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="keywordflow">return</span> payload[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">idx</a>] + <a class="code hl_function" href="namespaceentt.html#a1ae98eeee0b0cb3e94d97d08a74a06f0">fast_mod</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>, <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>);</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> </div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</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="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="keyword">auto</span> emplace_element(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>, <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">force_back</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="l00266" name="l00266"></a><span class="lineno"> 266</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_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">force_back</a>);</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> </div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> ENTT_TRY {</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keyword">auto</span> *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a> = <a class="code hl_function" href="namespaceentt.html#af0ecb90b45a53e3272d761c237a0d850">to_address</a>(assure_at_least(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a><span class="keyword">&gt;</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>.index())));</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <a class="code hl_function" href="namespaceentt.html#a81f946567d220e7c8814636333d0cbe0">entt::uninitialized_construct_using_allocator</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>, <a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>(), std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> }</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> ENTT_CATCH {</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a8f66cbcaa360286d296dcb7a33c7e1ce">base_type::pop</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> + 1u);</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> ENTT_THROW;</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> }</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="keywordflow">return</span> <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> }</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> </div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="keywordtype">void</span> shrink_to_size(<span class="keyword">const</span> std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a>) {</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a> = (<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a> + <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a> - 1u) / <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>;</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>{<a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>()};</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> </div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a>, length = <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>(); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> &lt; length; ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>) {</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<a class="code hl_variable" href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">traits_type::in_place_delete</a>) {</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">base_type::data</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>] != <a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</a>) {</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(element_at(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>)));</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> }</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(element_at(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>)));</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">for</span>(<span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>, last = payload.size(); <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="l00295" name="l00295"></a><span class="lineno"> 295</span> alloc_traits::deallocate(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, payload[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>], <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>);</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> </div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> payload.resize(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>);</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> }</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="keyword">private</span>:</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">const</span> <span class="keywordtype">void</span> *get_at(<span class="keyword">const</span> std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>) <span class="keyword">const</span> <span class="keyword">final</span> {</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <span class="keywordflow">return</span> std::addressof(element_at(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>));</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> </div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <span class="keywordtype">void</span> swap_or_move([[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">const</span> std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>, [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">const</span> std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">to</a>)<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_pinned_type_v</a> = !(std::is_move_constructible_v&lt;Type&gt; &amp;&amp; std::is_move_assignable_v&lt;Type&gt;);</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="comment">// use a runtime value to avoid compile-time suppression that drives the code coverage tool crazy</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> ENTT_ASSERT((<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a> + 1u) &amp;&amp; !<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_pinned_type_v</a>, <span class="stringliteral">&quot;Pinned type&quot;</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> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(!<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">is_pinned_type_v</a>) {</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <span class="keyword">auto</span> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a> = element_at(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>);</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> </div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<a class="code hl_variable" href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">traits_type::in_place_delete</a>) {</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <span class="keywordflow">if</span>(base_type::operator[](<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">to</a>) == <a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</a>) {</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>{<a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>()};</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> <a class="code hl_function" href="namespaceentt.html#a81f946567d220e7c8814636333d0cbe0">entt::uninitialized_construct_using_allocator</a>(<a class="code hl_function" href="namespaceentt.html#af0ecb90b45a53e3272d761c237a0d850">to_address</a>(assure_at_least(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">to</a>)), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>));</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>));</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> <span class="keywordflow">return</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> }</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> </div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keyword">using </span>std::swap;</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a630a15d8b585a288e2b37af3af9ebdfe">swap</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>, element_at(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">to</a>));</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</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="keyword">protected</span>:</div>
<div class="foldopen" id="foldopen00334" data-start="{" data-end="}">
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ab2d0f02c4c0a88d6fe42b95e9c2b8226"> 334</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ab2d0f02c4c0a88d6fe42b95e9c2b8226">pop</a>(underlying_iterator first, underlying_iterator last)<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keywordflow">for</span>(<a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>{<a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>()}; first != last; ++first) {</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <span class="comment">// cannot use first.index() because it would break with cross iterators</span></div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <span class="keyword">auto</span> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a> = element_at(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(*first));</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="keywordflow">if</span> <span class="keyword">constexpr</span>(<a class="code hl_variable" href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">traits_type::in_place_delete</a>) {</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#aa45b7ab945ade01c286a35cba5376d7f">base_type::in_place_pop</a>(first);</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>));</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <span class="keyword">auto</span> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a> = element_at(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>() - 1u);</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> <span class="comment">// destroying on exit allows reentrant destructors</span></div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">unused</a> = std::exchange(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>, std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>));</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>));</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a2b95c0acd8af718e712362d1177dbc1e">base_type::swap_and_pop</a>(first);</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> }</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> }</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> }</div>
</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
<div class="foldopen" id="foldopen00353" data-start="{" data-end="}">
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a343212f5eacd1e124fb85be1a6841b60"> 353</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a343212f5eacd1e124fb85be1a6841b60">pop_all</a>()<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>{<a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>()};</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> </div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> first = <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a11b72852c0ae4f7f0dc5f27ba6001f42">base_type::begin</a>(); !(first.index() &lt; 0); ++first) {</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<a class="code hl_variable" href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">traits_type::in_place_delete</a>) {</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> <span class="keywordflow">if</span>(*first != <a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</a>) {</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#aa45b7ab945ade01c286a35cba5376d7f">base_type::in_place_pop</a>(first);</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(element_at(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a><span class="keyword">&gt;</span>(first.index()))));</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> }</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a2b95c0acd8af718e712362d1177dbc1e">base_type::swap_and_pop</a>(first);</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> alloc_traits::destroy(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>, std::addressof(element_at(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a><span class="keyword">&gt;</span>(first.index()))));</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> }</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> }</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> }</div>
</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> </div>
<div class="foldopen" id="foldopen00376" data-start="{" data-end="}">
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a96a10490c949af09275a303e7d352f9a"> 376</a></span> underlying_iterator <a class="code hl_function" href="classentt_1_1basic__storage.html#a96a10490c949af09275a303e7d352f9a">try_emplace</a>([[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>, [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">maybe_unused</a>]] <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">force_back</a>, <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab3725f4fb86b9bb73f5f397884ff1680">value</a>)<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab3725f4fb86b9bb73f5f397884ff1680">value</a> != <span class="keyword">nullptr</span>) {</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_copy_constructible_v&lt;element_type&gt;) {</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> <span class="keywordflow">return</span> emplace_element(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">force_back</a>, *<span class="keyword">static_cast&lt;</span><span class="keyword">const </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#ad4d0afe56ddfbed03d8ca62a766b176b">element_type</a> *<span class="keyword">&gt;</span>(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab3725f4fb86b9bb73f5f397884ff1680">value</a>));</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a3187a76bdb963346a715e0ebd833bfd7">base_type::end</a>();</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> }</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_default_constructible_v&lt;element_type&gt;) {</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> <span class="keywordflow">return</span> emplace_element(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">force_back</a>);</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a3187a76bdb963346a715e0ebd833bfd7">base_type::end</a>();</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> }</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> }</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> }</div>
</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span> </div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe"> 394</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> = Allocator;</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a828dbbb03ff1e390dfdac396a0abc59f"> 396</a></span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a> = <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">underlying_type</a>;</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad4d0afe56ddfbed03d8ca62a766b176b"> 398</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#ad4d0afe56ddfbed03d8ca62a766b176b">element_type</a> = Type;</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b"> 400</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> = <a class="code hl_typedef" href="classentt_1_1basic__storage.html#ad4d0afe56ddfbed03d8ca62a766b176b">element_type</a>;</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3"> 402</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>;</div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9"> 404</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a> = std::size_t;</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ab7a786a114c38b8ee8de18315ec7f7e5"> 406</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#ab7a786a114c38b8ee8de18315ec7f7e5">pointer</a> = <span class="keyword">typename</span> container_type::pointer;</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a5d8cb6743d7ffa4c83631ec13786b4fe"> 408</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#a5d8cb6743d7ffa4c83631ec13786b4fe">const_pointer</a> = <span class="keyword">typename</span> alloc_traits::template rebind_traits&lt;typename alloc_traits::const_pointer&gt;::const_pointer;</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b"> 410</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a> = internal::storage_iterator&lt;container_type&gt;;</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d"> 412</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a> = internal::storage_iterator&lt;const container_type&gt;;</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#aad006022c957075831aee9f1a798b485"> 414</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aad006022c957075831aee9f1a798b485">reverse_iterator</a> = std::reverse_iterator&lt;iterator&gt;;</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484"> 416</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484">const_reverse_iterator</a> = std::reverse_iterator&lt;const_iterator&gt;;</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ac23311c6fa44244eaf8140b0fff6787e"> 418</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::iterator, iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ae9a7c7e35258d679ba9f2f1f49e8eef4"> 420</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::const_iterator, const_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ac0b087048aeab81f0c34f9934d55fa0a"> 422</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::reverse_iterator, reverse_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a4ef56d090bf30c5722e9c83350c8f4c0"> 424</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::const_reverse_iterator, const_reverse_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f"> 426</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="namespaceentt.html#abc4d0fa77fae26e7c01793990996c581">deletion_policy</a> <a class="code hl_variable" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">storage_policy</a>{<a class="code hl_variable" href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">traits_type::in_place_delete</a>};</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> </div>
<div class="foldopen" id="foldopen00429" data-start="{" data-end="}">
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a0f133edb8ff29ccf88a53056cd00aec4"> 429</a></span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a0f133edb8ff29ccf88a53056cd00aec4">basic_storage</a>()</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> : <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>{<a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a>{}} {}</div>
</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> </div>
<div class="foldopen" id="foldopen00436" data-start="{" data-end="}">
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad520f17e1c3fa8a9c370ce86dd36e15f"> 436</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ad520f17e1c3fa8a9c370ce86dd36e15f">basic_storage</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{<a class="code hl_function" href="namespaceentt.html#adb9682d476edbbe4434680363f9c0eb3">type_id</a>&lt;<a class="code hl_typedef" href="classentt_1_1basic__storage.html#ad4d0afe56ddfbed03d8ca62a766b176b">element_type</a>&gt;(), <a class="code hl_variable" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">storage_policy</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> payload{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> </div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#aeef5fab52ef7e9fe4904959b38a85f42"> 441</a></span> <a class="code hl_function" href="classentt_1_1basic__storage.html#aeef5fab52ef7e9fe4904959b38a85f42">basic_storage</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> </div>
<div class="foldopen" id="foldopen00447" data-start="{" data-end="}">
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a3d01c331994076d8d4983b94165c20ac"> 447</a></span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a3d01c331994076d8d4983b94165c20ac">basic_storage</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a></div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>)},</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span> payload{std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.payload)} {}</div>
</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> </div>
<div class="foldopen" id="foldopen00456" data-start="{" data-end="}">
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ae359b1aa54b4f09e86230caf89d84df4"> 456</a></span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ae359b1aa54b4f09e86230caf89d84df4">basic_storage</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&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_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">move</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> payload{std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">move</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.payload), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> <span class="comment">// NOLINTNEXTLINE(bugprone-use-after-move)</span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> ENTT_ASSERT(alloc_traits::is_always_equal::value || <a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>() == <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.get_allocator(), <span class="stringliteral">&quot;Copying a storage is not allowed&quot;</span>);</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> }</div>
</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> </div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> <span class="comment">// NOLINTNEXTLINE(bugprone-exception-escape)</span></div>
<div class="foldopen" id="foldopen00465" data-start="{" data-end="}">
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a0e445caa667814ee1132fe312d650ce8"> 465</a></span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a0e445caa667814ee1132fe312d650ce8">~basic_storage</a>()<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span> shrink_to_size(0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>);</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span> }</div>
</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> </div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad3797487dadd407f1542d4405f49d81b"> 473</a></span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage.html#ad3797487dadd407f1542d4405f49d81b">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> </div>
<div class="foldopen" id="foldopen00480" data-start="{" data-end="}">
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a8507e607a4f0e571f0d85637030a86c5"> 480</a></span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage.html#a8507e607a4f0e571f0d85637030a86c5">operator=</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> ENTT_ASSERT(alloc_traits::is_always_equal::value || <a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">get_allocator</a>() == <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.get_allocator(), <span class="stringliteral">&quot;Copying a storage is not allowed&quot;</span>);</div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a630a15d8b585a288e2b37af3af9ebdfe">swap</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>);</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno"> 484</span> }</div>
</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"> 485</span> </div>
<div class="foldopen" id="foldopen00490" data-start="{" data-end="}">
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a630a15d8b585a288e2b37af3af9ebdfe"> 490</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a630a15d8b585a288e2b37af3af9ebdfe">swap</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> <span class="keyword">using </span>std::swap;</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a630a15d8b585a288e2b37af3af9ebdfe">swap</a>(payload, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.payload);</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a85505b5556cc61ab5557cd311442ad42">base_type::swap</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>);</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> }</div>
</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> </div>
<div class="foldopen" id="foldopen00500" data-start="{" data-end="}">
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c"> 500</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">allocator_type</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">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="l00501" name="l00501"></a><span class="lineno"> 501</span> <span class="keywordflow">return</span> payload.get_allocator();</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> }</div>
</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> </div>
<div class="foldopen" id="foldopen00512" data-start="{" data-end="}">
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad51850043e05582865e5c93fa06421be"> 512</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ad51850043e05582865e5c93fa06421be">reserve</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a>)<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a> != 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>) {</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a58d49df52ee3133a1347dc01131a4f1a">base_type::reserve</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a>);</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> assure_at_least(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">cap</a> - 1u);</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> }</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> }</div>
</div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span> </div>
<div class="foldopen" id="foldopen00524" data-start="{" data-end="}">
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a45d9ea8409804572c0ec705c2bc8c293"> 524</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a45d9ea8409804572c0ec705c2bc8c293">capacity</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a><span class="keyword"> override </span>{</div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span> <span class="keywordflow">return</span> payload.size() * <a class="code hl_variable" href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">traits_type::page_size</a>;</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span> }</div>
</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span> </div>
<div class="foldopen" id="foldopen00529" data-start="{" data-end="}">
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad569287dadaa314c700f0e904ef71409"> 529</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ad569287dadaa314c700f0e904ef71409">shrink_to_fit</a>()<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a7e10cc6ddc7ef9c733aabdec849c5b79">base_type::shrink_to_fit</a>();</div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> shrink_to_size(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>());</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> }</div>
</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> </div>
<div class="foldopen" id="foldopen00538" data-start="{" data-end="}">
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a2f4c9502dc518929c71b55f38906d382"> 538</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a5d8cb6743d7ffa4c83631ec13786b4fe">const_pointer</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a2f4c9502dc518929c71b55f38906d382">raw</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="l00539" name="l00539"></a><span class="lineno"> 539</span> <span class="keywordflow">return</span> payload.data();</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span> }</div>
</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> </div>
<div class="foldopen" id="foldopen00543" data-start="{" data-end="}">
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ac5408c2657df1787649494bff983db37"> 543</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#ab7a786a114c38b8ee8de18315ec7f7e5">pointer</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#ac5408c2657df1787649494bff983db37">raw</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span> <span class="keywordflow">return</span> payload.data();</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> }</div>
</div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> </div>
<div class="foldopen" id="foldopen00554" data-start="{" data-end="}">
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a9ab3e6177006330420d5590d280a3f33"> 554</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a9ab3e6177006330420d5590d280a3f33">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="l00555" name="l00555"></a><span class="lineno"> 555</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</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="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>());</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a>{&amp;payload, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>};</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="foldopen" id="foldopen00560" data-start="{" data-end="}">
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee"> 560</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee">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="l00561" name="l00561"></a><span class="lineno"> 561</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a9ab3e6177006330420d5590d280a3f33">cbegin</a>();</div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> }</div>
</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> </div>
<div class="foldopen" id="foldopen00565" data-start="{" data-end="}">
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#aef0e68f7f95a21629c8051aecc703ab0"> 565</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#aef0e68f7f95a21629c8051aecc703ab0">begin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</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="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>());</div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a>{&amp;payload, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">pos</a>};</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> }</div>
</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> </div>
<div class="foldopen" id="foldopen00575" data-start="{" data-end="}">
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a4429fb49d4f32d6d553150b44951a406"> 575</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a4429fb49d4f32d6d553150b44951a406">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="l00576" name="l00576"></a><span class="lineno"> 576</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a>{&amp;payload, {}};</div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span> }</div>
</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> </div>
<div class="foldopen" id="foldopen00580" data-start="{" data-end="}">
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a28c6c2fb6e1c840a014656568249efc1"> 580</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">const_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a28c6c2fb6e1c840a014656568249efc1">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="l00581" name="l00581"></a><span class="lineno"> 581</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a4429fb49d4f32d6d553150b44951a406">cend</a>();</div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span> }</div>
</div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span> </div>
<div class="foldopen" id="foldopen00585" data-start="{" data-end="}">
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a0087fa4285dd7f5c0ae3bf930a3447e5"> 585</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a0087fa4285dd7f5c0ae3bf930a3447e5">end</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a>{&amp;payload, {}};</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> }</div>
</div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> </div>
<div class="foldopen" id="foldopen00596" data-start="{" data-end="}">
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ada8f048f0df07217eb94bd61f2cec729"> 596</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#ada8f048f0df07217eb94bd61f2cec729">crbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"> 597</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1basic__storage.html#a4429fb49d4f32d6d553150b44951a406">cend</a>());</div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"> 598</span> }</div>
</div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span> </div>
<div class="foldopen" id="foldopen00601" data-start="{" data-end="}">
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a24ef007aa48f17ac553a93caae35b748"> 601</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a24ef007aa48f17ac553a93caae35b748">rbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ada8f048f0df07217eb94bd61f2cec729">crbegin</a>();</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> }</div>
</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> </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_1basic__storage.html#a6afc921b176288925f31cc7c72878cf4"> 606</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#aad006022c957075831aee9f1a798b485">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a6afc921b176288925f31cc7c72878cf4">rbegin</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1basic__storage.html#a28c6c2fb6e1c840a014656568249efc1">end</a>());</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> }</div>
</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> </div>
<div class="foldopen" id="foldopen00615" data-start="{" data-end="}">
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#accad70b92b1e1667be5ce183928a3d02"> 615</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#accad70b92b1e1667be5ce183928a3d02">crend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1basic__storage.html#a9ab3e6177006330420d5590d280a3f33">cbegin</a>());</div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</span> }</div>
</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> </div>
<div class="foldopen" id="foldopen00620" data-start="{" data-end="}">
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a8cdc33df100e1ffed0daff4b590a7537"> 620</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484">const_reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a8cdc33df100e1ffed0daff4b590a7537">rend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#accad70b92b1e1667be5ce183928a3d02">crend</a>();</div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span> }</div>
</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span> </div>
<div class="foldopen" id="foldopen00625" data-start="{" data-end="}">
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a83ea309d2fb6b6fdebea70fa2ca1e0d7"> 625</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#aad006022c957075831aee9f1a798b485">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a83ea309d2fb6b6fdebea70fa2ca1e0d7">rend</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span> <span class="keywordflow">return</span> std::make_reverse_iterator(<a class="code hl_function" href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee">begin</a>());</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="foldopen" id="foldopen00639" data-start="{" data-end="}">
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a3d5a1009a9e86a3bb051eaaf01864574"> 639</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_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage.html#a3d5a1009a9e86a3bb051eaaf01864574">get</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"> 640</span> <span class="keywordflow">return</span> element_at(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>));</div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"> 641</span> }</div>
</div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span> </div>
<div class="foldopen" id="foldopen00644" data-start="{" data-end="}">
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ac6f638341f2c99608bb5c6ddbf47f6eb"> 644</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage.html#ac6f638341f2c99608bb5c6ddbf47f6eb">get</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> <span class="keywordflow">return</span> <span class="keyword">const_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> &amp;<span class="keyword">&gt;</span>(std::as_const(*this).get(<a class="code hl_namespace" href="namespaceentt.html">entt</a>));</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span> }</div>
</div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> </div>
<div class="foldopen" id="foldopen00653" data-start="{" data-end="}">
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad54c710b9ee32ecf963e30760bb06976"> 653</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::tuple&lt;const value_type &amp;&gt; <a class="code hl_function" href="classentt_1_1basic__storage.html#ad54c710b9ee32ecf963e30760bb06976">get_as_tuple</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> <span class="keywordflow">return</span> std::forward_as_tuple(<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>));</div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span> }</div>
</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span> </div>
<div class="foldopen" id="foldopen00658" data-start="{" data-end="}">
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ac5557c54e1634c2e796b0a8e5ffe3ab3"> 658</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::tuple&lt;value_type &amp;&gt; <a class="code hl_function" href="classentt_1_1basic__storage.html#ac5557c54e1634c2e796b0a8e5ffe3ab3">get_as_tuple</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span> <span class="keywordflow">return</span> std::forward_as_tuple(<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</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="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</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="foldopen00675" data-start="{" data-end="}">
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ad53a7224b938b57f633b34af6d6c4621"> 675</a></span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage.html#ad53a7224b938b57f633b34af6d6c4621">emplace</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</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="l00676" name="l00676"></a><span class="lineno"> 676</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_aggregate_v&lt;value_type&gt; &amp;&amp; (<span class="keyword">sizeof</span>...(Args) != 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a> || !std::is_default_constructible_v&lt;value_type&gt;)) {</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = emplace_element(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <span class="keyword">false</span>, Type{std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...});</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span> <span class="keywordflow">return</span> element_at(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a><span class="keyword">&gt;</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>.index()));</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> = emplace_element(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <span class="keyword">false</span>, std::forward&lt;Args&gt;(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> <span class="keywordflow">return</span> element_at(<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a><span class="keyword">&gt;</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>.index()));</div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span> }</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> }</div>
</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> </div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Func&gt;</div>
<div class="foldopen" id="foldopen00693" data-start="{" data-end="}">
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#aac5dc88bd5698b4fbf9aa873bdbd0d42"> 693</a></span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage.html#aac5dc88bd5698b4fbf9aa873bdbd0d42">patch</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>, Func &amp;&amp;...func) {</div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">idx</a> = <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span> <span class="keyword">auto</span> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a> = element_at(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">idx</a>);</div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span> (std::forward&lt;Func&gt;(func)(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>), ...);</div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">elem</a>;</div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"> 698</span> }</div>
</div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"> 699</span> </div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"> 714</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="foldopen" id="foldopen00715" data-start="{" data-end="}">
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#aafe2e98bca923f7069fc231f8250e4ee"> 715</a></span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#aafe2e98bca923f7069fc231f8250e4ee">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, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab3725f4fb86b9bb73f5f397884ff1680">value</a> = {}) {</div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"> 716</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span> emplace_element(*first, <span class="keyword">true</span>, <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab3725f4fb86b9bb73f5f397884ff1680">value</a>);</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span> }</div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span> </div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee">begin</a>();</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> }</div>
</div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span> </div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno"> 736</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">template&lt;typename EIt, typename CIt, typename = std::enable_if_t&lt;std::is_same_v&lt;typename std::iterator_traits&lt;CIt&gt;::value_type</a>, <a class="code hl_typedef" href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">value_type</a>&gt;&gt;&gt;</div>
<div class="foldopen" id="foldopen00737" data-start="{" data-end="}">
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a226b7e547c4b4f24580c041a6b9bc163"> 737</a></span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">iterator</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a226b7e547c4b4f24580c041a6b9bc163">insert</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">EIt</a> first, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">EIt</a> last, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">CIt</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>) {</div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"> 738</span> <span class="keywordflow">for</span>(; first != last; ++first, ++<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>) {</div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"> 739</span> emplace_element(*first, <span class="keyword">true</span>, *<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">from</a>);</div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"> 740</span> }</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno"> 741</span> </div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno"> 742</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee">begin</a>();</div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno"> 743</span> }</div>
</div>
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno"> 744</span> </div>
<div class="foldopen" id="foldopen00753" data-start="{" data-end="}">
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#acfe669358e8c68240dcc617c9d624d4c"> 753</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#acfe669358e8c68240dcc617c9d624d4c">each</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"> 754</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a>{{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a11b72852c0ae4f7f0dc5f27ba6001f42">base_type::begin</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee">begin</a>()}, {<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a3187a76bdb963346a715e0ebd833bfd7">base_type::end</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#a28c6c2fb6e1c840a014656568249efc1">end</a>()}};</div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno"> 755</span> }</div>
</div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno"> 756</span> </div>
<div class="foldopen" id="foldopen00758" data-start="{" data-end="}">
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#a5e021893afba0e3b7e7d515bec3dd85b"> 758</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#a5e021893afba0e3b7e7d515bec3dd85b">each</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="l00759" name="l00759"></a><span class="lineno"> 759</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a>{{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1934fc85ed01c3528c45ab9a76712fa7">base_type::cbegin</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#a9ab3e6177006330420d5590d280a3f33">cbegin</a>()}, {<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a9f0cc6e746fd49b0c7a0b8e5d8504fef">base_type::cend</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#a4429fb49d4f32d6d553150b44951a406">cend</a>()}};</div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"> 760</span> }</div>
</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"> 761</span> </div>
<div class="foldopen" id="foldopen00769" data-start="{" data-end="}">
<div class="line"><a id="l00769" name="l00769"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#abaf0ee2aa0eedc73f2783f25a0d0ff73"> 769</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#abaf0ee2aa0eedc73f2783f25a0d0ff73">reach</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"> 770</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a>{{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#aba067d644dcb69d8d11f6d5dc48b9c9b">base_type::rbegin</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#a24ef007aa48f17ac553a93caae35b748">rbegin</a>()}, {<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a408ae201025279196f63ef32cf58da9a">base_type::rend</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#a8cdc33df100e1ffed0daff4b590a7537">rend</a>()}};</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"> 771</span> }</div>
</div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno"> 772</span> </div>
<div class="foldopen" id="foldopen00774" data-start="{" data-end="}">
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage.html#ace65bb1e5bd8c99b5ed37c810667872e"> 774</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage.html#ace65bb1e5bd8c99b5ed37c810667872e">reach</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="l00775" name="l00775"></a><span class="lineno"> 775</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a>{{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad57b82c12d92837a14d8904e82eb49a9">base_type::crbegin</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#ada8f048f0df07217eb94bd61f2cec729">crbegin</a>()}, {<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab28f2f1c7bbf2861f4a3e7602a317b96">base_type::crend</a>(), <a class="code hl_function" href="classentt_1_1basic__storage.html#accad70b92b1e1667be5ce183928a3d02">crend</a>()}};</div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno"> 776</span> }</div>
</div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno"> 777</span> </div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno"> 778</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"> 779</span> container_type payload;</div>
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno"> 780</span>};</div>
</div>
<div class="line"><a id="l00781" name="l00781"></a><span class="lineno"> 781</span> </div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"> 783</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span> Entity, <span class="keyword">typename</span> Allocator&gt;</div>
<div class="foldopen" id="foldopen00784" data-start="{" data-end="};">
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html"> 784</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>&lt;Type, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>, Allocator, std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">enable_if_t</a>&lt;component_traits&lt;Type&gt;::page_size == 0u&gt;&gt;</div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"> 785</span> : <span class="keyword">public</span> <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">basic_sparse_set</a>&lt;Entity, typename std::allocator_traits&lt;Allocator&gt;::template rebind_alloc&lt;Entity&gt;&gt; {</div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno"> 786</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits&lt;Allocator&gt;;</div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"> 787</span> <span class="keyword">static_assert</span>(std::is_same_v&lt;typename alloc_traits::value_type, Type&gt;, <span class="stringliteral">&quot;Invalid value type&quot;</span>);</div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"> 788</span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1component__traits.html">traits_type</a> = <a class="code hl_struct" href="structentt_1_1component__traits.html">component_traits&lt;Type&gt;</a>;</div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"> 789</span> </div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"> 790</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06"> 792</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a> = Allocator;</div>
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aee8f889b027657243c03e1fccba85c82"> 794</a></span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a> = <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">basic_sparse_set&lt;Entity, typename alloc_traits::template rebind_alloc&lt;Entity&gt;</a>&gt;;</div>
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a49e83e3a6c6e27d96a14c50a0fdd5c83"> 796</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a49e83e3a6c6e27d96a14c50a0fdd5c83">element_type</a> = Type;</div>
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aa9d41e9aa6dfe02706e057b57c923209"> 798</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aa9d41e9aa6dfe02706e057b57c923209">value_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">void</a>;</div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0"> 800</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0">entity_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>;</div>
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a3f67a2405b5a315b397d90000577651f"> 802</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a3f67a2405b5a315b397d90000577651f">size_type</a> = std::size_t;</div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#ae05d4d6b3e57fa075caea89001f12418"> 804</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#ac3f3eb22dbf3436d5df0ba4034c7aacd"> 806</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::const_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a34996b779593809edfb11d2fc60a005a"> 808</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::reverse_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a8273404c552f27174ff8dc2aae0fb8af"> 810</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::const_reverse_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a7611d604fb0e052bbfc6b20f3e4431ac"> 812</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="namespaceentt.html#abc4d0fa77fae26e7c01793990996c581">deletion_policy</a> <a class="code hl_variable" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">storage_policy</a>{<a class="code hl_variable" href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">traits_type::in_place_delete</a>};</div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"> 813</span> </div>
<div class="foldopen" id="foldopen00815" data-start="{" data-end="}">
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a029f21d7a8e7079d1ebf8fd4702250ac"> 815</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a029f21d7a8e7079d1ebf8fd4702250ac">basic_storage</a>()</div>
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno"> 816</span> : <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>{<a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a>{}} {}</div>
</div>
<div class="line"><a id="l00817" name="l00817"></a><span class="lineno"> 817</span> </div>
<div class="foldopen" id="foldopen00822" data-start="{" data-end="}">
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a4c8eca7aeb2d1d79980435e696cae6d2"> 822</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a4c8eca7aeb2d1d79980435e696cae6d2">basic_storage</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno"> 823</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{<a class="code hl_function" href="namespaceentt.html#adb9682d476edbbe4434680363f9c0eb3">type_id</a>&lt;<a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a49e83e3a6c6e27d96a14c50a0fdd5c83">element_type</a>&gt;(), <a class="code hl_variable" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">storage_policy</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno"> 824</span> </div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0040a7517f4b2fb8c72421ddf39a9a01"> 826</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0040a7517f4b2fb8c72421ddf39a9a01">basic_storage</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno"> 827</span> </div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a1dbb2e1f40fa624895487a02e1d7ea48"> 832</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a1dbb2e1f40fa624895487a02e1d7ea48">basic_storage</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"> 833</span> </div>
<div class="foldopen" id="foldopen00839" data-start="{" data-end="}">
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#af4f97281e841017fdc7dfc9af865e252"> 839</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#af4f97281e841017fdc7dfc9af865e252">basic_storage</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&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_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l00840" name="l00840"></a><span class="lineno"> 840</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">move</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno"> 841</span> </div>
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a4ac338f44a25f8b0fc8506beaa5c25ae"> 843</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a4ac338f44a25f8b0fc8506beaa5c25ae">~basic_storage</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00844" name="l00844"></a><span class="lineno"> 844</span> </div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a5f887a113631ee4bddfcfaf863b96ab7"> 849</a></span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a5f887a113631ee4bddfcfaf863b96ab7">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno"> 850</span> </div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#acc79299daa427277fc5367baad15029d"> 856</a></span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#acc79299daa427277fc5367baad15029d">operator=</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"> 857</span> </div>
<div class="foldopen" id="foldopen00862" data-start="{" data-end="}">
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a172622381f03e8710c0836e7ad11b8cf"> 862</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a172622381f03e8710c0836e7ad11b8cf">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="l00863" name="l00863"></a><span class="lineno"> 863</span> <span class="comment">// std::allocator&lt;void&gt; has no cross constructors (waiting for C++20)</span></div>
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno"> 864</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_void_v&lt;element_type&gt; &amp;&amp; !std::is_constructible_v&lt;allocator_type, typename base_type::allocator_type&gt;) {</div>
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno"> 865</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a>{};</div>
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno"> 866</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"> 867</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">allocator_type</a>{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab292b60dd8782739701906aec8f381ab">base_type::get_allocator</a>()};</div>
<div class="line"><a id="l00868" name="l00868"></a><span class="lineno"> 868</span> }</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="foldopen00880" data-start="{" data-end="}">
<div class="line"><a id="l00880" name="l00880"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a183863f3241e5c21589e08cedd9cca17"> 880</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a183863f3241e5c21589e08cedd9cca17">get</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_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00881" name="l00881"></a><span class="lineno"> 881</span> ENTT_ASSERT(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a97b47cbaea3fc30442fa3e6366766c86">base_type::contains</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>), <span class="stringliteral">&quot;Invalid entity&quot;</span>);</div>
<div class="line"><a id="l00882" name="l00882"></a><span class="lineno"> 882</span> }</div>
</div>
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno"> 883</span> </div>
<div class="foldopen" id="foldopen00889" data-start="{" data-end="}">
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aafadc116ef4610e4c95cfdf198bee3c7"> 889</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::tuple&lt;&gt; <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aafadc116ef4610e4c95cfdf198bee3c7">get_as_tuple</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_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"> 890</span> ENTT_ASSERT(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a97b47cbaea3fc30442fa3e6366766c86">base_type::contains</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>), <span class="stringliteral">&quot;Invalid entity&quot;</span>);</div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"> 891</span> <span class="keywordflow">return</span> std::tuple{};</div>
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno"> 892</span> }</div>
</div>
<div class="line"><a id="l00893" name="l00893"></a><span class="lineno"> 893</span> </div>
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno"> 904</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="foldopen00905" data-start="{" data-end="}">
<div class="line"><a id="l00905" name="l00905"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0804b16811a3d42cde346e1f2ae69143"> 905</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0804b16811a3d42cde346e1f2ae69143">emplace</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &amp;&amp;...) {</div>
<div class="line"><a id="l00906" name="l00906"></a><span class="lineno"> 906</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <span class="keyword">false</span>);</div>
<div class="line"><a id="l00907" name="l00907"></a><span class="lineno"> 907</span> }</div>
</div>
<div class="line"><a id="l00908" name="l00908"></a><span class="lineno"> 908</span> </div>
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno"> 915</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Func&gt;</div>
<div class="foldopen" id="foldopen00916" data-start="{" data-end="}">
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a95f0f91666cc79c7b8ac8d340c574571"> 916</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a95f0f91666cc79c7b8ac8d340c574571">patch</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_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>, Func &amp;&amp;...func) {</div>
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno"> 917</span> ENTT_ASSERT(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a97b47cbaea3fc30442fa3e6366766c86">base_type::contains</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>), <span class="stringliteral">&quot;Invalid entity&quot;</span>);</div>
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno"> 918</span> (std::forward&lt;Func&gt;(func)(), ...);</div>
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno"> 919</span> }</div>
</div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"> 920</span> </div>
<div class="line"><a id="l00928" name="l00928"></a><span class="lineno"> 928</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">It</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>&gt;</div>
<div class="foldopen" id="foldopen00929" data-start="{" data-end="}">
<div class="line"><a id="l00929" name="l00929"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#acd7d5ee354baa947b8e7e3a8ee72ed04"> 929</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#acd7d5ee354baa947b8e7e3a8ee72ed04">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, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &amp;&amp;...) {</div>
<div class="line"><a id="l00930" name="l00930"></a><span class="lineno"> 930</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno"> 931</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(*first, <span class="keyword">true</span>);</div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno"> 932</span> }</div>
<div class="line"><a id="l00933" name="l00933"></a><span class="lineno"> 933</span> }</div>
</div>
<div class="line"><a id="l00934" name="l00934"></a><span class="lineno"> 934</span> </div>
<div class="foldopen" id="foldopen00942" data-start="{" data-end="}">
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aba8303422ccc2123c75307b09490a1a7"> 942</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aba8303422ccc2123c75307b09490a1a7">each</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno"> 943</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a>{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a11b72852c0ae4f7f0dc5f27ba6001f42">base_type::begin</a>(), <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a3187a76bdb963346a715e0ebd833bfd7">base_type::end</a>()};</div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno"> 944</span> }</div>
</div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno"> 945</span> </div>
<div class="foldopen" id="foldopen00947" data-start="{" data-end="}">
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a73a6df7204aaf27ea1af95627113d671"> 947</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a73a6df7204aaf27ea1af95627113d671">each</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="l00948" name="l00948"></a><span class="lineno"> 948</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a>{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1934fc85ed01c3528c45ab9a76712fa7">base_type::cbegin</a>(), <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a9f0cc6e746fd49b0c7a0b8e5d8504fef">base_type::cend</a>()};</div>
<div class="line"><a id="l00949" name="l00949"></a><span class="lineno"> 949</span> }</div>
</div>
<div class="line"><a id="l00950" name="l00950"></a><span class="lineno"> 950</span> </div>
<div class="foldopen" id="foldopen00958" data-start="{" data-end="}">
<div class="line"><a id="l00958" name="l00958"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0c992b167732cf71844d4619491d80d1"> 958</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0c992b167732cf71844d4619491d80d1">reach</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l00959" name="l00959"></a><span class="lineno"> 959</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a>{{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#aba067d644dcb69d8d11f6d5dc48b9c9b">base_type::rbegin</a>()}, {<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a408ae201025279196f63ef32cf58da9a">base_type::rend</a>()}};</div>
<div class="line"><a id="l00960" name="l00960"></a><span class="lineno"> 960</span> }</div>
</div>
<div class="line"><a id="l00961" name="l00961"></a><span class="lineno"> 961</span> </div>
<div class="foldopen" id="foldopen00963" data-start="{" data-end="}">
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#af9fd55c5ddfb8c88000ff87b8d88a460"> 963</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#af9fd55c5ddfb8c88000ff87b8d88a460">reach</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="l00964" name="l00964"></a><span class="lineno"> 964</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a>{{<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad57b82c12d92837a14d8904e82eb49a9">base_type::crbegin</a>()}, {<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ab28f2f1c7bbf2861f4a3e7602a317b96">base_type::crend</a>()}};</div>
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno"> 965</span> }</div>
</div>
<div class="line"><a id="l00966" name="l00966"></a><span class="lineno"> 966</span>};</div>
</div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno"> 967</span> </div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno"> 973</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity, <span class="keyword">typename</span> Allocator&gt;</div>
<div class="foldopen" id="foldopen00974" data-start="{" data-end="};">
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html"> 974</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>&lt;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>, Allocator&gt;</div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno"> 975</span> : <span class="keyword">public</span> <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">basic_sparse_set</a>&lt;Entity, Allocator&gt; {</div>
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno"> 976</span> <span class="keyword">using </span>alloc_traits = std::allocator_traits&lt;Allocator&gt;;</div>
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno"> 977</span> <span class="keyword">static_assert</span>(std::is_same_v&lt;typename alloc_traits::value_type, Entity&gt;, <span class="stringliteral">&quot;Invalid value type&quot;</span>);</div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno"> 978</span> <span class="keyword">using </span>underlying_iterator = <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1basic__sparse__set.html#ac56bb654b47a648d64a754d85c70b40a">basic_sparse_set&lt;Entity, Allocator&gt;::basic_iterator</a>;</div>
<div class="line"><a id="l00979" name="l00979"></a><span class="lineno"> 979</span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1entt__traits.html">traits_type</a> = <a class="code hl_struct" href="structentt_1_1entt__traits.html">entt_traits&lt;Entity&gt;</a>;</div>
<div class="line"><a id="l00980" name="l00980"></a><span class="lineno"> 980</span> </div>
<div class="line"><a id="l00981" name="l00981"></a><span class="lineno"> 981</span> <span class="keyword">auto</span> next() <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno"> 982</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a> = <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>;</div>
<div class="line"><a id="l00983" name="l00983"></a><span class="lineno"> 983</span> </div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno"> 984</span> <span class="keywordflow">do</span> {</div>
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno"> 985</span> ENTT_ASSERT(placeholder &lt; traits_type::to_entity(<a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>), <span class="stringliteral">&quot;No more entities available&quot;</span>);</div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno"> 986</span> <a class="code hl_namespace" href="namespaceentt.html">entt</a> = traits_type::combine(<span class="keyword">static_cast&lt;</span><a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">typename</a> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">traits_type::entity_type</a><span class="keyword">&gt;</span>(placeholder++), {});</div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno"> 987</span> } <span class="keywordflow">while</span>(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a96cf0ed9f37ededbd40f6a8c38c1940b">base_type::current</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) != traits_type::to_version(<a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</a>) &amp;&amp; <a class="code hl_namespace" href="namespaceentt.html">entt</a> != <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</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">return</span> <a class="code hl_namespace" href="namespaceentt.html">entt</a>;</div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno"> 990</span> }</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><span class="keyword">protected</span>:</div>
<div class="foldopen" id="foldopen00994" data-start="{" data-end="}">
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a4703e670597bf8dfebe036f8a378ca12"> 994</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a4703e670597bf8dfebe036f8a378ca12">pop_all</a>()<span class="keyword"> override </span>{</div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"> 995</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1e8e00e8bfa75311482f2fa071e244e6">base_type::pop_all</a>();</div>
<div class="line"><a id="l00996" name="l00996"></a><span class="lineno"> 996</span> placeholder = {};</div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno"> 997</span> }</div>
</div>
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno"> 998</span> </div>
<div class="foldopen" id="foldopen01004" data-start="{" data-end="}">
<div class="line"><a id="l01004" name="l01004"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a70ee247f23204a7cd323968a19adf91e"> 1004</a></span> underlying_iterator <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a70ee247f23204a7cd323968a19adf91e">try_emplace</a>(<span class="keyword">const</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a>, <span class="keyword">const</span> <span class="keywordtype">bool</span>, <span class="keyword">const</span> <span class="keywordtype">void</span> *)<span class="keyword"> override </span>{</div>
<div class="line"><a id="l01005" name="l01005"></a><span class="lineno"> 1005</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a8b9656b9f037aede492f66e87e57a6ca">base_type::find</a>(<a class="code hl_function" href="classentt_1_1basic__storage.html#ad53a7224b938b57f633b34af6d6c4621">emplace</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a>));</div>
<div class="line"><a id="l01006" name="l01006"></a><span class="lineno"> 1006</span> }</div>
</div>
<div class="line"><a id="l01007" name="l01007"></a><span class="lineno"> 1007</span> </div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab6f44783390bee502fd79fbb85f9b646"> 1010</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab6f44783390bee502fd79fbb85f9b646">allocator_type</a> = Allocator;</div>
<div class="line"><a id="l01012" name="l01012"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#abd80d68052978c2814bd14c9e97e6fa6"> 1012</a></span> <span class="keyword">using </span><a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a> = <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">basic_sparse_set&lt;Entity, Allocator&gt;</a>;</div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a9b9274928f9059decb038a2c9effb80e"> 1014</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a9b9274928f9059decb038a2c9effb80e">element_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>;</div>
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a30bbcaceb9ee7f7708d978f082afabc8"> 1016</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a30bbcaceb9ee7f7708d978f082afabc8">value_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">void</a>;</div>
<div class="line"><a id="l01018" name="l01018"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505"> 1018</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Entity</a>;</div>
<div class="line"><a id="l01020" name="l01020"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a08f4727790342ff0bdd5d7e4097b4926"> 1020</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a08f4727790342ff0bdd5d7e4097b4926">size_type</a> = std::size_t;</div>
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#abca6514000d50e1a758c6528dbbd1969"> 1022</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l01024" name="l01024"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a364dc9bf92cab24cc7a941fb126b80b0"> 1024</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::const_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l01026" name="l01026"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a1fd72c81109540e8f140fdbe3caea9fa"> 1026</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::reverse_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l01028" name="l01028"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab9e678bee9335c265e4c65cc26ca6ea8"> 1028</a></span> <span class="keyword">using </span><a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a> = <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable_adaptor&lt;internal::extended_storage_iterator&lt;typename base_type::const_reverse_iterator&gt;</a>&gt;;</div>
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a27abe6f0df04dd96bf358dcde392551c"> 1030</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="namespaceentt.html#abc4d0fa77fae26e7c01793990996c581">deletion_policy</a> <a class="code hl_variable" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">storage_policy</a> = <a class="code hl_enumvalue" href="namespaceentt.html#abc4d0fa77fae26e7c01793990996c581a62044f8c7b1568e4536403704282322b">deletion_policy::swap_only</a>;</div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"> 1031</span> </div>
<div class="foldopen" id="foldopen01033" data-start="{" data-end="}">
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ae1fe4f9b3f5321de7fa8edf19e94a5e3"> 1033</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ae1fe4f9b3f5321de7fa8edf19e94a5e3">basic_storage</a>()</div>
<div class="line"><a id="l01034" name="l01034"></a><span class="lineno"> 1034</span> : <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a>{<a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab6f44783390bee502fd79fbb85f9b646">allocator_type</a>{}} {</div>
<div class="line"><a id="l01035" name="l01035"></a><span class="lineno"> 1035</span> }</div>
</div>
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"> 1036</span> </div>
<div class="foldopen" id="foldopen01041" data-start="{" data-end="}">
<div class="line"><a id="l01041" name="l01041"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#aad3d273e33e1c75d3ff90335c00052f2"> 1041</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#aad3d273e33e1c75d3ff90335c00052f2">basic_storage</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab6f44783390bee502fd79fbb85f9b646">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l01042" name="l01042"></a><span class="lineno"> 1042</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{<a class="code hl_function" href="namespaceentt.html#adb9682d476edbbe4434680363f9c0eb3">type_id</a>&lt;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">void</a>&gt;(), <a class="code hl_variable" href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">storage_policy</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>} {}</div>
</div>
<div class="line"><a id="l01043" name="l01043"></a><span class="lineno"> 1043</span> </div>
<div class="line"><a id="l01045" name="l01045"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ad670050bddfa74b9c0a9e4ba2204268f"> 1045</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ad670050bddfa74b9c0a9e4ba2204268f">basic_storage</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l01046" name="l01046"></a><span class="lineno"> 1046</span> </div>
<div class="foldopen" id="foldopen01051" data-start="{" data-end="}">
<div class="line"><a id="l01051" name="l01051"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#abe7bd428f703bfc2d315ef2452efc267"> 1051</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#abe7bd428f703bfc2d315ef2452efc267">basic_storage</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a></div>
<div class="line"><a id="l01052" name="l01052"></a><span class="lineno"> 1052</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>)},</div>
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"> 1053</span> placeholder{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.placeholder} {}</div>
</div>
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"> 1054</span> </div>
<div class="foldopen" id="foldopen01060" data-start="{" data-end="}">
<div class="line"><a id="l01060" name="l01060"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a856e9e651a4dd6ae412ccdf45e8548d0"> 1060</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a856e9e651a4dd6ae412ccdf45e8548d0">basic_storage</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&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_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab6f44783390bee502fd79fbb85f9b646">allocator_type</a> &amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>)</div>
<div class="line"><a id="l01061" name="l01061"></a><span class="lineno"> 1061</span> : <a class="code hl_class" href="classentt_1_1basic__sparse__set.html">base_type</a>{std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">move</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">allocator</a>},</div>
<div class="line"><a id="l01062" name="l01062"></a><span class="lineno"> 1062</span> placeholder{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.placeholder} {}</div>
</div>
<div class="line"><a id="l01063" name="l01063"></a><span class="lineno"> 1063</span> </div>
<div class="line"><a id="l01065" name="l01065"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a63a788bded60499df62a260d69ca3265"> 1065</a></span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a63a788bded60499df62a260d69ca3265">~basic_storage</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l01066" name="l01066"></a><span class="lineno"> 1066</span> </div>
<div class="line"><a id="l01071" name="l01071"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#af605f563b7a0be4036fa8dba278d57fb"> 1071</a></span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#af605f563b7a0be4036fa8dba278d57fb">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l01072" name="l01072"></a><span class="lineno"> 1072</span> </div>
<div class="foldopen" id="foldopen01078" data-start="{" data-end="}">
<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a723daaf0eab065ab697d1d6d1be56452"> 1078</a></span> <a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;<a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a723daaf0eab065ab697d1d6d1be56452">operator=</a>(<a class="code hl_class" href="classentt_1_1basic__storage.html">basic_storage</a> &amp;&amp;<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l01079" name="l01079"></a><span class="lineno"> 1079</span> placeholder = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>.placeholder;</div>
<div class="line"><a id="l01080" name="l01080"></a><span class="lineno"> 1080</span> <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a71e7865957db2ed2243c77eac979c8ee">base_type::operator=</a>(std::move(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">other</a>));</div>
<div class="line"><a id="l01081" name="l01081"></a><span class="lineno"> 1081</span> <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"> 1082</span> }</div>
</div>
<div class="line"><a id="l01083" name="l01083"></a><span class="lineno"> 1083</span> </div>
<div class="foldopen" id="foldopen01093" data-start="{" data-end="}">
<div class="line"><a id="l01093" name="l01093"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a2c4bcec746cdc4fe6378614090a8a1dc"> 1093</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a2c4bcec746cdc4fe6378614090a8a1dc">get</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_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l01094" name="l01094"></a><span class="lineno"> 1094</span> ENTT_ASSERT(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>(), <span class="stringliteral">&quot;The requested entity is not a live one&quot;</span>);</div>
<div class="line"><a id="l01095" name="l01095"></a><span class="lineno"> 1095</span> }</div>
</div>
<div class="line"><a id="l01096" name="l01096"></a><span class="lineno"> 1096</span> </div>
<div class="foldopen" id="foldopen01102" data-start="{" data-end="}">
<div class="line"><a id="l01102" name="l01102"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#afd19d01b5c34b4173416ef1836997f75"> 1102</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] std::tuple&lt;&gt; <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#afd19d01b5c34b4173416ef1836997f75">get_as_tuple</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_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l01103" name="l01103"></a><span class="lineno"> 1103</span> ENTT_ASSERT(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>(), <span class="stringliteral">&quot;The requested entity is not a live one&quot;</span>);</div>
<div class="line"><a id="l01104" name="l01104"></a><span class="lineno"> 1104</span> <span class="keywordflow">return</span> std::tuple{};</div>
<div class="line"><a id="l01105" name="l01105"></a><span class="lineno"> 1105</span> }</div>
</div>
<div class="line"><a id="l01106" name="l01106"></a><span class="lineno"> 1106</span> </div>
<div class="foldopen" id="foldopen01111" data-start="{" data-end="}">
<div class="line"><a id="l01111" name="l01111"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ac3f17aef4b12de38be4e9e9e94b6e8e2"> 1111</a></span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ac3f17aef4b12de38be4e9e9e94b6e8e2">emplace</a>() {</div>
<div class="line"><a id="l01112" name="l01112"></a><span class="lineno"> 1112</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">len</a> = <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>();</div>
<div class="line"><a id="l01113" name="l01113"></a><span class="lineno"> 1113</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_namespace" href="namespaceentt.html">entt</a> = (<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">len</a> == <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>()) ? next() : <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">base_type::data</a>()[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">len</a>];</div>
<div class="line"><a id="l01114" name="l01114"></a><span class="lineno"> 1114</span> <span class="keywordflow">return</span> *<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>, <span class="keyword">true</span>);</div>
<div class="line"><a id="l01115" name="l01115"></a><span class="lineno"> 1115</span> }</div>
</div>
<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"> 1116</span> </div>
<div class="foldopen" id="foldopen01126" data-start="{" data-end="}">
<div class="line"><a id="l01126" name="l01126"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a5828c772e2c92ed556cba475cb858c4a"> 1126</a></span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a5828c772e2c92ed556cba475cb858c4a">emplace</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a>) {</div>
<div class="line"><a id="l01127" name="l01127"></a><span class="lineno"> 1127</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a> != <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a> &amp;&amp; <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a> != <a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</a>) {</div>
<div class="line"><a id="l01128" name="l01128"></a><span class="lineno"> 1128</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">curr</a> = traits_type::construct(traits_type::to_entity(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a>), <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a96cf0ed9f37ededbd40f6a8c38c1940b">base_type::current</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a>)); <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a> == <a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</a> || !(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">curr</a>) &lt; <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>())) {</div>
<div class="line"><a id="l01129" name="l01129"></a><span class="lineno"> 1129</span> <span class="keywordflow">return</span> *<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">hint</a>, <span class="keyword">true</span>);</div>
<div class="line"><a id="l01130" name="l01130"></a><span class="lineno"> 1130</span> }</div>
<div class="line"><a id="l01131" name="l01131"></a><span class="lineno"> 1131</span> }</div>
<div class="line"><a id="l01132" name="l01132"></a><span class="lineno"> 1132</span> </div>
<div class="line"><a id="l01133" name="l01133"></a><span class="lineno"> 1133</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__storage.html#ad53a7224b938b57f633b34af6d6c4621">emplace</a>();</div>
<div class="line"><a id="l01134" name="l01134"></a><span class="lineno"> 1134</span> }</div>
</div>
<div class="line"><a id="l01135" name="l01135"></a><span class="lineno"> 1135</span> </div>
<div class="line"><a id="l01142" name="l01142"></a><span class="lineno"> 1142</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Func&gt;</div>
<div class="foldopen" id="foldopen01143" data-start="{" data-end="}">
<div class="line"><a id="l01143" name="l01143"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#adbcee0a91f31c48bb5fd6b3186585d78"> 1143</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#adbcee0a91f31c48bb5fd6b3186585d78">patch</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_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>, Func &amp;&amp;...func) {</div>
<div class="line"><a id="l01144" name="l01144"></a><span class="lineno"> 1144</span> ENTT_ASSERT(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">base_type::index</a>(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>(), <span class="stringliteral">&quot;The requested entity is not a live one&quot;</span>);</div>
<div class="line"><a id="l01145" name="l01145"></a><span class="lineno"> 1145</span> (std::forward&lt;Func&gt;(func)(), ...);</div>
<div class="line"><a id="l01146" name="l01146"></a><span class="lineno"> 1146</span> }</div>
</div>
<div class="line"><a id="l01147" name="l01147"></a><span class="lineno"> 1147</span> </div>
<div class="line"><a id="l01154" name="l01154"></a><span class="lineno"> 1154</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> It&gt;</div>
<div class="foldopen" id="foldopen01155" data-start="{" data-end="}">
<div class="line"><a id="l01155" name="l01155"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a376d14e745c1cc4f02cbebf70cab4753"> 1155</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a376d14e745c1cc4f02cbebf70cab4753">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="l01156" name="l01156"></a><span class="lineno"> 1156</span> <span class="keywordflow">for</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="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">base_type::size</a>(); first != last &amp;&amp; <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>() != <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">sz</a>; ++first) {</div>
<div class="line"><a id="l01157" name="l01157"></a><span class="lineno"> 1157</span> *first = *<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">base_type::data</a>()[<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>()], <span class="keyword">true</span>);</div>
<div class="line"><a id="l01158" name="l01158"></a><span class="lineno"> 1158</span> }</div>
<div class="line"><a id="l01159" name="l01159"></a><span class="lineno"> 1159</span> </div>
<div class="line"><a id="l01160" name="l01160"></a><span class="lineno"> 1160</span> <span class="keywordflow">for</span>(; first != last; ++first) {</div>
<div class="line"><a id="l01161" name="l01161"></a><span class="lineno"> 1161</span> *first = *<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">base_type::try_emplace</a>(next(), <span class="keyword">true</span>);</div>
<div class="line"><a id="l01162" name="l01162"></a><span class="lineno"> 1162</span> }</div>
<div class="line"><a id="l01163" name="l01163"></a><span class="lineno"> 1163</span> }</div>
</div>
<div class="line"><a id="l01164" name="l01164"></a><span class="lineno"> 1164</span> </div>
<div class="foldopen" id="foldopen01172" data-start="{" data-end="}">
<div class="line"><a id="l01172" name="l01172"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ac8d3d18104e55f52c6250474bd1d81d5"> 1172</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ac8d3d18104e55f52c6250474bd1d81d5">each</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l01173" name="l01173"></a><span class="lineno"> 1173</span> <span class="keywordflow">return</span> std::as_const(*this).each();</div>
<div class="line"><a id="l01174" name="l01174"></a><span class="lineno"> 1174</span> }</div>
</div>
<div class="line"><a id="l01175" name="l01175"></a><span class="lineno"> 1175</span> </div>
<div class="foldopen" id="foldopen01177" data-start="{" data-end="}">
<div class="line"><a id="l01177" name="l01177"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#aa648c85086af5e1698e35ec0aae4728e"> 1177</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#aa648c85086af5e1698e35ec0aae4728e">each</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="l01178" name="l01178"></a><span class="lineno"> 1178</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_1basic__sparse__set.html#a9f0cc6e746fd49b0c7a0b8e5d8504fef">base_type::cend</a>();</div>
<div class="line"><a id="l01179" name="l01179"></a><span class="lineno"> 1179</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_iterable</a>{<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a> - <a class="code hl_function" href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>(), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">it</a>};</div>
<div class="line"><a id="l01180" name="l01180"></a><span class="lineno"> 1180</span> }</div>
</div>
<div class="line"><a id="l01181" name="l01181"></a><span class="lineno"> 1181</span> </div>
<div class="foldopen" id="foldopen01189" data-start="{" data-end="}">
<div class="line"><a id="l01189" name="l01189"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a7f925d711a62f92eca32f875c88f17f8"> 1189</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">reverse_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a7f925d711a62f92eca32f875c88f17f8">reach</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
<div class="line"><a id="l01190" name="l01190"></a><span class="lineno"> 1190</span> <span class="keywordflow">return</span> std::as_const(*this).reach();</div>
<div class="line"><a id="l01191" name="l01191"></a><span class="lineno"> 1191</span> }</div>
</div>
<div class="line"><a id="l01192" name="l01192"></a><span class="lineno"> 1192</span> </div>
<div class="foldopen" id="foldopen01194" data-start="{" data-end="}">
<div class="line"><a id="l01194" name="l01194"></a><span class="lineno"><a class="line" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a014cfafc47bb929421ece1c5cc97836e"> 1194</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</a> <a class="code hl_function" href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a014cfafc47bb929421ece1c5cc97836e">reach</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="l01195" name="l01195"></a><span class="lineno"> 1195</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_1basic__sparse__set.html#ad57b82c12d92837a14d8904e82eb49a9">base_type::crbegin</a>();</div>
<div class="line"><a id="l01196" name="l01196"></a><span class="lineno"> 1196</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">const_reverse_iterable</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_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">base_type::free_list</a>()};</div>
<div class="line"><a id="l01197" name="l01197"></a><span class="lineno"> 1197</span> }</div>
</div>
<div class="line"><a id="l01198" name="l01198"></a><span class="lineno"> 1198</span> </div>
<div class="line"><a id="l01199" name="l01199"></a><span class="lineno"> 1199</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l01200" name="l01200"></a><span class="lineno"> 1200</span> <a class="code hl_typedef" href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">size_type</a> placeholder{};</div>
<div class="line"><a id="l01201" name="l01201"></a><span class="lineno"> 1201</span>};</div>
</div>
<div class="line"><a id="l01202" name="l01202"></a><span class="lineno"> 1202</span> </div>
<div class="line"><a id="l01203" name="l01203"></a><span class="lineno"> 1203</span>} <span class="comment">// namespace entt</span></div>
<div class="line"><a id="l01204" name="l01204"></a><span class="lineno"> 1204</span> </div>
<div class="line"><a id="l01205" name="l01205"></a><span class="lineno"> 1205</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a066f3db5d13496df1e1fbc8659197793"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entt::basic_entt_traits&lt; internal::entt_traits&lt; Type &gt; &gt;::entity_type</a></div><div class="ttdeci">typename Traits::entity_type entity_type</div><div class="ttdoc">Underlying entity type.</div><div class="ttdef"><b>Definition</b> <a href="entity_8hpp_source.html#l00071">entity.hpp:71</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html">entt::basic_sparse_set</a></div><div class="ttdoc">Sparse set implementation.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00158">sparse_set.hpp:158</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a11b72852c0ae4f7f0dc5f27ba6001f42"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a11b72852c0ae4f7f0dc5f27ba6001f42">entt::basic_sparse_set::begin</a></div><div class="ttdeci">iterator begin() const noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00612">sparse_set.hpp:612</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a1934fc85ed01c3528c45ab9a76712fa7"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a1934fc85ed01c3528c45ab9a76712fa7">entt::basic_sparse_set::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdoc">Returns an iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00618">sparse_set.hpp:618</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a1c62d9615acde55f57fcca92e44c747c"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a1c62d9615acde55f57fcca92e44c747c">entt::basic_sparse_set::try_emplace</a></div><div class="ttdeci">virtual basic_iterator try_emplace(const Entity entt, const bool force_back, const void *=nullptr)</div><div class="ttdoc">Assigns an entity to a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00334">sparse_set.hpp:334</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a1e8e00e8bfa75311482f2fa071e244e6"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a1e8e00e8bfa75311482f2fa071e244e6">entt::basic_sparse_set::pop_all</a></div><div class="ttdeci">virtual void pop_all()</div><div class="ttdoc">Erases all entities of a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00304">sparse_set.hpp:304</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a2b95c0acd8af718e712362d1177dbc1e"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a2b95c0acd8af718e712362d1177dbc1e">entt::basic_sparse_set::swap_and_pop</a></div><div class="ttdeci">void swap_and_pop(const basic_iterator it)</div><div class="ttdoc">Erases an entity from a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00255">sparse_set.hpp:255</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a3187a76bdb963346a715e0ebd833bfd7"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a3187a76bdb963346a715e0ebd833bfd7">entt::basic_sparse_set::end</a></div><div class="ttdeci">iterator end() const noexcept</div><div class="ttdoc">Returns an iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00627">sparse_set.hpp:627</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a408ae201025279196f63ef32cf58da9a"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a408ae201025279196f63ef32cf58da9a">entt::basic_sparse_set::rend</a></div><div class="ttdeci">reverse_iterator rend() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00659">sparse_set.hpp:659</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a4c540ff32bca204b1adbd9e4f4a0240b"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">entt::basic_sparse_set::data</a></div><div class="ttdeci">pointer data() const noexcept</div><div class="ttdoc">Direct access to the internal packed array.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00600">sparse_set.hpp:600</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a58d49df52ee3133a1347dc01131a4f1a"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a58d49df52ee3133a1347dc01131a4f1a">entt::basic_sparse_set::reserve</a></div><div class="ttdeci">virtual void reserve(const size_type cap)</div><div class="ttdoc">Increases the capacity of a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00534">sparse_set.hpp:534</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a69ad0662838fd351985a51ee3017fb6c"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a69ad0662838fd351985a51ee3017fb6c">entt::basic_sparse_set::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of elements in a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00576">sparse_set.hpp:576</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a71e7865957db2ed2243c77eac979c8ee"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a71e7865957db2ed2243c77eac979c8ee">entt::basic_sparse_set::operator=</a></div><div class="ttdeci">basic_sparse_set &amp; operator=(const basic_sparse_set &amp;)=delete</div><div class="ttdoc">Default copy assignment operator, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a7e10cc6ddc7ef9c733aabdec849c5b79"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a7e10cc6ddc7ef9c733aabdec849c5b79">entt::basic_sparse_set::shrink_to_fit</a></div><div class="ttdeci">virtual void shrink_to_fit()</div><div class="ttdoc">Requests the removal of unused capacity.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00548">sparse_set.hpp:548</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a85505b5556cc61ab5557cd311442ad42"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a85505b5556cc61ab5557cd311442ad42">entt::basic_sparse_set::swap</a></div><div class="ttdeci">void swap(basic_sparse_set &amp;other) noexcept</div><div class="ttdoc">Exchanges the contents with those of a given sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00484">sparse_set.hpp:484</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a8b9656b9f037aede492f66e87e57a6ca"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a8b9656b9f037aede492f66e87e57a6ca">entt::basic_sparse_set::find</a></div><div class="ttdeci">const_iterator find(const entity_type entt) const noexcept</div><div class="ttdoc">Finds an entity.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00674">sparse_set.hpp:674</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a8f66cbcaa360286d296dcb7a33c7e1ce"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a8f66cbcaa360286d296dcb7a33c7e1ce">entt::basic_sparse_set::pop</a></div><div class="ttdeci">virtual void pop(basic_iterator first, basic_iterator last)</div><div class="ttdoc">Erases entities from a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00283">sparse_set.hpp:283</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a96cf0ed9f37ededbd40f6a8c38c1940b"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a96cf0ed9f37ededbd40f6a8c38c1940b">entt::basic_sparse_set::current</a></div><div class="ttdeci">version_type current(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the contained version for an identifier.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00697">sparse_set.hpp:697</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a97b47cbaea3fc30442fa3e6366766c86"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a97b47cbaea3fc30442fa3e6366766c86">entt::basic_sparse_set::contains</a></div><div class="ttdeci">bool contains(const entity_type entt) const noexcept</div><div class="ttdoc">Checks if a sparse set contains an entity.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00683">sparse_set.hpp:683</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a9f0cc6e746fd49b0c7a0b8e5d8504fef"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a9f0cc6e746fd49b0c7a0b8e5d8504fef">entt::basic_sparse_set::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdoc">Returns an iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00632">sparse_set.hpp:632</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_aa45b7ab945ade01c286a35cba5376d7f"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#aa45b7ab945ade01c286a35cba5376d7f">entt::basic_sparse_set::in_place_pop</a></div><div class="ttdeci">void in_place_pop(const basic_iterator it)</div><div class="ttdoc">Erases an entity from a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00272">sparse_set.hpp:272</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ab28f2f1c7bbf2861f4a3e7602a317b96"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ab28f2f1c7bbf2861f4a3e7602a317b96">entt::basic_sparse_set::crend</a></div><div class="ttdeci">const_reverse_iterator crend() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00664">sparse_set.hpp:664</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ab292b60dd8782739701906aec8f381ab"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ab292b60dd8782739701906aec8f381ab">entt::basic_sparse_set::get_allocator</a></div><div class="ttdeci">constexpr allocator_type get_allocator() const noexcept</div><div class="ttdoc">Returns the associated allocator.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00497">sparse_set.hpp:497</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ab3725f4fb86b9bb73f5f397884ff1680"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ab3725f4fb86b9bb73f5f397884ff1680">entt::basic_sparse_set&lt; Entity, std::allocator_traits&lt; Allocator &gt;::template rebind_alloc&lt; Entity &gt; &gt;::value</a></div><div class="ttdeci">const void * value(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the element assigned to an entity, if any.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00738">sparse_set.hpp:738</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_aba067d644dcb69d8d11f6d5dc48b9c9b"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#aba067d644dcb69d8d11f6d5dc48b9c9b">entt::basic_sparse_set::rbegin</a></div><div class="ttdeci">reverse_iterator rbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00645">sparse_set.hpp:645</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_abc26c3d5467a929c2b88d7ad915c1fa9"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#abc26c3d5467a929c2b88d7ad915c1fa9">entt::basic_sparse_set::free_list</a></div><div class="ttdeci">size_type free_list() const noexcept</div><div class="ttdoc">Returns data on the free list whose meaning depends on the mode.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00513">sparse_set.hpp:513</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ac56bb654b47a648d64a754d85c70b40a"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ac56bb654b47a648d64a754d85c70b40a">entt::basic_sparse_set::basic_iterator</a></div><div class="ttdeci">internal::sparse_set_iterator&lt; packed_container_type &gt; basic_iterator</div><div class="ttdoc">Random access iterator type.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00238">sparse_set.hpp:238</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ad57b82c12d92837a14d8904e82eb49a9"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ad57b82c12d92837a14d8904e82eb49a9">entt::basic_sparse_set::crbegin</a></div><div class="ttdeci">const_reverse_iterator crbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00650">sparse_set.hpp:650</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ad8a8fc74771c26b36fce8234f5e1d1fa"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ad8a8fc74771c26b36fce8234f5e1d1fa">entt::basic_sparse_set::index</a></div><div class="ttdeci">size_type index(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the position of an entity in a sparse set.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00713">sparse_set.hpp:713</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a014cfafc47bb929421ece1c5cc97836e"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a014cfafc47bb929421ece1c5cc97836e">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::reach</a></div><div class="ttdeci">const_reverse_iterable reach() const noexcept</div><div class="ttdoc">Returns a reverse iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l01194">storage.hpp:1194</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a08f4727790342ff0bdd5d7e4097b4926"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a08f4727790342ff0bdd5d7e4097b4926">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::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="#l01020">storage.hpp:1020</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a2c4bcec746cdc4fe6378614090a8a1dc"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a2c4bcec746cdc4fe6378614090a8a1dc">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::get</a></div><div class="ttdeci">void get(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the object assigned to an entity, that is void.</div><div class="ttdef"><b>Definition</b> <a href="#l01093">storage.hpp:1093</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a30bbcaceb9ee7f7708d978f082afabc8"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a30bbcaceb9ee7f7708d978f082afabc8">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::value_type</a></div><div class="ttdeci">void value_type</div><div class="ttdoc">Type of the objects assigned to entities.</div><div class="ttdef"><b>Definition</b> <a href="#l01016">storage.hpp:1016</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a376d14e745c1cc4f02cbebf70cab4753"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a376d14e745c1cc4f02cbebf70cab4753">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::insert</a></div><div class="ttdeci">void insert(It first, It last)</div><div class="ttdoc">Assigns each element in a range an identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l01155">storage.hpp:1155</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a39bda60ad772dafde668f5a0ac1fd505"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a39bda60ad772dafde668f5a0ac1fd505">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::entity_type</a></div><div class="ttdeci">Entity entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l01018">storage.hpp:1018</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a4703e670597bf8dfebe036f8a378ca12"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a4703e670597bf8dfebe036f8a378ca12">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::pop_all</a></div><div class="ttdeci">void pop_all() override</div><div class="ttdoc">Erases all entities of a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00994">storage.hpp:994</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a5828c772e2c92ed556cba475cb858c4a"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a5828c772e2c92ed556cba475cb858c4a">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::emplace</a></div><div class="ttdeci">entity_type emplace(const entity_type hint)</div><div class="ttdoc">Creates a new identifier or recycles a destroyed one.</div><div class="ttdef"><b>Definition</b> <a href="#l01126">storage.hpp:1126</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a63a788bded60499df62a260d69ca3265"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a63a788bded60499df62a260d69ca3265">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::~basic_storage</a></div><div class="ttdeci">~basic_storage() override=default</div><div class="ttdoc">Default destructor.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a70ee247f23204a7cd323968a19adf91e"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a70ee247f23204a7cd323968a19adf91e">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::try_emplace</a></div><div class="ttdeci">underlying_iterator try_emplace(const Entity hint, const bool, const void *) override</div><div class="ttdoc">Assigns an entity to a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l01004">storage.hpp:1004</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a723daaf0eab065ab697d1d6d1be56452"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a723daaf0eab065ab697d1d6d1be56452">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::operator=</a></div><div class="ttdeci">basic_storage &amp; operator=(basic_storage &amp;&amp;other) noexcept</div><div class="ttdoc">Move assignment operator.</div><div class="ttdef"><b>Definition</b> <a href="#l01078">storage.hpp:1078</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a7f925d711a62f92eca32f875c88f17f8"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a7f925d711a62f92eca32f875c88f17f8">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::reach</a></div><div class="ttdeci">reverse_iterable reach() noexcept</div><div class="ttdoc">Returns a reverse iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l01189">storage.hpp:1189</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a856e9e651a4dd6ae412ccdf45e8548d0"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a856e9e651a4dd6ae412ccdf45e8548d0">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(basic_storage &amp;&amp;other, const allocator_type &amp;allocator)</div><div class="ttdoc">Allocator-extended move constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l01060">storage.hpp:1060</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_a9b9274928f9059decb038a2c9effb80e"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#a9b9274928f9059decb038a2c9effb80e">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::element_type</a></div><div class="ttdeci">Entity element_type</div><div class="ttdoc">Element type.</div><div class="ttdef"><b>Definition</b> <a href="#l01014">storage.hpp:1014</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_aa648c85086af5e1698e35ec0aae4728e"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#aa648c85086af5e1698e35ec0aae4728e">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::each</a></div><div class="ttdeci">const_iterable each() const noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l01177">storage.hpp:1177</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_aad3d273e33e1c75d3ff90335c00052f2"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#aad3d273e33e1c75d3ff90335c00052f2">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(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="#l01041">storage.hpp:1041</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_ab6f44783390bee502fd79fbb85f9b646"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ab6f44783390bee502fd79fbb85f9b646">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::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="#l01010">storage.hpp:1010</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_abe7bd428f703bfc2d315ef2452efc267"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#abe7bd428f703bfc2d315ef2452efc267">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(basic_storage &amp;&amp;other) noexcept</div><div class="ttdoc">Move constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l01051">storage.hpp:1051</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_ac3f17aef4b12de38be4e9e9e94b6e8e2"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ac3f17aef4b12de38be4e9e9e94b6e8e2">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::emplace</a></div><div class="ttdeci">entity_type emplace()</div><div class="ttdoc">Creates a new identifier or recycles a destroyed one.</div><div class="ttdef"><b>Definition</b> <a href="#l01111">storage.hpp:1111</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_ac8d3d18104e55f52c6250474bd1d81d5"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ac8d3d18104e55f52c6250474bd1d81d5">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::each</a></div><div class="ttdeci">iterable each() noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l01172">storage.hpp:1172</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_ad670050bddfa74b9c0a9e4ba2204268f"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ad670050bddfa74b9c0a9e4ba2204268f">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(const basic_storage &amp;)=delete</div><div class="ttdoc">Default copy constructor, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_adbcee0a91f31c48bb5fd6b3186585d78"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#adbcee0a91f31c48bb5fd6b3186585d78">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::patch</a></div><div class="ttdeci">void patch(const entity_type entt, Func &amp;&amp;...func)</div><div class="ttdoc">Updates a given identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l01143">storage.hpp:1143</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_ae1fe4f9b3f5321de7fa8edf19e94a5e3"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#ae1fe4f9b3f5321de7fa8edf19e94a5e3">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::basic_storage</a></div><div class="ttdeci">basic_storage()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l01033">storage.hpp:1033</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_af605f563b7a0be4036fa8dba278d57fb"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#af605f563b7a0be4036fa8dba278d57fb">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::operator=</a></div><div class="ttdeci">basic_storage &amp; operator=(const basic_storage &amp;)=delete</div><div class="ttdoc">Default copy assignment operator, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4_html_afd19d01b5c34b4173416ef1836997f75"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Entity_00_01Entity_00_01Allocator_01_4.html#afd19d01b5c34b4173416ef1836997f75">entt::basic_storage&lt; Entity, Entity, Allocator &gt;::get_as_tuple</a></div><div class="ttdeci">std::tuple get_as_tuple(const entity_type entt) const noexcept</div><div class="ttdoc">Returns an empty tuple.</div><div class="ttdef"><b>Definition</b> <a href="#l01102">storage.hpp:1102</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a0040a7517f4b2fb8c72421ddf39a9a01"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0040a7517f4b2fb8c72421ddf39a9a01">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(const basic_storage &amp;)=delete</div><div class="ttdoc">Default copy constructor, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a029f21d7a8e7079d1ebf8fd4702250ac"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a029f21d7a8e7079d1ebf8fd4702250ac">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::basic_storage</a></div><div class="ttdeci">basic_storage()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00815">storage.hpp:815</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a0804b16811a3d42cde346e1f2ae69143"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0804b16811a3d42cde346e1f2ae69143">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::emplace</a></div><div class="ttdeci">void emplace(const entity_type entt, Args &amp;&amp;...)</div><div class="ttdoc">Assigns an entity to a storage and constructs its object.</div><div class="ttdef"><b>Definition</b> <a href="#l00905">storage.hpp:905</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a0c992b167732cf71844d4619491d80d1"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a0c992b167732cf71844d4619491d80d1">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::reach</a></div><div class="ttdeci">reverse_iterable reach() noexcept</div><div class="ttdoc">Returns a reverse iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00958">storage.hpp:958</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a172622381f03e8710c0836e7ad11b8cf"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a172622381f03e8710c0836e7ad11b8cf">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::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="#l00862">storage.hpp:862</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a183863f3241e5c21589e08cedd9cca17"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a183863f3241e5c21589e08cedd9cca17">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::get</a></div><div class="ttdeci">void get(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the object assigned to an entity, that is void.</div><div class="ttdef"><b>Definition</b> <a href="#l00880">storage.hpp:880</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a1dbb2e1f40fa624895487a02e1d7ea48"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a1dbb2e1f40fa624895487a02e1d7ea48">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(basic_storage &amp;&amp;other) noexcept=default</div><div class="ttdoc">Move constructor.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a3f67a2405b5a315b397d90000577651f"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a3f67a2405b5a315b397d90000577651f">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::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="#l00802">storage.hpp:802</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a49e83e3a6c6e27d96a14c50a0fdd5c83"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a49e83e3a6c6e27d96a14c50a0fdd5c83">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::element_type</a></div><div class="ttdeci">Type element_type</div><div class="ttdoc">Element type.</div><div class="ttdef"><b>Definition</b> <a href="#l00796">storage.hpp:796</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a4ac338f44a25f8b0fc8506beaa5c25ae"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a4ac338f44a25f8b0fc8506beaa5c25ae">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::~basic_storage</a></div><div class="ttdeci">~basic_storage() override=default</div><div class="ttdoc">Default destructor.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a4c8eca7aeb2d1d79980435e696cae6d2"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a4c8eca7aeb2d1d79980435e696cae6d2">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(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="#l00822">storage.hpp:822</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a5f887a113631ee4bddfcfaf863b96ab7"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a5f887a113631ee4bddfcfaf863b96ab7">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::operator=</a></div><div class="ttdeci">basic_storage &amp; operator=(const basic_storage &amp;)=delete</div><div class="ttdoc">Default copy assignment operator, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a6facab035e077cf52ecc6319346b8ab0"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a6facab035e077cf52ecc6319346b8ab0">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::entity_type</a></div><div class="ttdeci">Entity entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l00800">storage.hpp:800</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a73a6df7204aaf27ea1af95627113d671"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a73a6df7204aaf27ea1af95627113d671">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::each</a></div><div class="ttdeci">const_iterable each() const noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00947">storage.hpp:947</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a78505c577bcd00f839098b46f7fb6b06"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a78505c577bcd00f839098b46f7fb6b06">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::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="#l00792">storage.hpp:792</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_a95f0f91666cc79c7b8ac8d340c574571"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#a95f0f91666cc79c7b8ac8d340c574571">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::patch</a></div><div class="ttdeci">void patch(const entity_type entt, Func &amp;&amp;...func)</div><div class="ttdoc">Updates the instance assigned to a given entity in-place.</div><div class="ttdef"><b>Definition</b> <a href="#l00916">storage.hpp:916</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_aa9d41e9aa6dfe02706e057b57c923209"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aa9d41e9aa6dfe02706e057b57c923209">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::value_type</a></div><div class="ttdeci">void value_type</div><div class="ttdoc">Type of the objects assigned to entities.</div><div class="ttdef"><b>Definition</b> <a href="#l00798">storage.hpp:798</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_aafadc116ef4610e4c95cfdf198bee3c7"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aafadc116ef4610e4c95cfdf198bee3c7">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::get_as_tuple</a></div><div class="ttdeci">std::tuple get_as_tuple(const entity_type entt) const noexcept</div><div class="ttdoc">Returns an empty tuple.</div><div class="ttdef"><b>Definition</b> <a href="#l00889">storage.hpp:889</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_aba8303422ccc2123c75307b09490a1a7"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#aba8303422ccc2123c75307b09490a1a7">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::each</a></div><div class="ttdeci">iterable each() noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00942">storage.hpp:942</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_acc79299daa427277fc5367baad15029d"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#acc79299daa427277fc5367baad15029d">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::operator=</a></div><div class="ttdeci">basic_storage &amp; operator=(basic_storage &amp;&amp;other) noexcept=default</div><div class="ttdoc">Move assignment operator.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_acd7d5ee354baa947b8e7e3a8ee72ed04"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#acd7d5ee354baa947b8e7e3a8ee72ed04">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::insert</a></div><div class="ttdeci">void insert(It first, It last, Args &amp;&amp;...)</div><div class="ttdoc">Assigns entities to a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00929">storage.hpp:929</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_af4f97281e841017fdc7dfc9af865e252"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#af4f97281e841017fdc7dfc9af865e252">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::basic_storage</a></div><div class="ttdeci">basic_storage(basic_storage &amp;&amp;other, const allocator_type &amp;allocator)</div><div class="ttdoc">Allocator-extended move constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00839">storage.hpp:839</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f_html_af9fd55c5ddfb8c88000ff87b8d88a460"><div class="ttname"><a href="classentt_1_1basic__storage_3_01Type_00_01Entity_00_01Allocator_00_01std_1_1enable__if__t_3_01co2dd25f12de13e2fda612c38b5da5182f.html#af9fd55c5ddfb8c88000ff87b8d88a460">entt::basic_storage&lt; Type, Entity, Allocator, std::enable_if_t&lt; component_traits&lt; Type &gt;::page_size==0u &gt; &gt;::reach</a></div><div class="ttdeci">const_reverse_iterable reach() const noexcept</div><div class="ttdoc">Returns a reverse iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00963">storage.hpp:963</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html"><div class="ttname"><a href="classentt_1_1basic__storage.html">entt::basic_storage</a></div><div class="ttdoc">Storage implementation.</div><div class="ttdef"><b>Definition</b> <a href="#l00230">storage.hpp:230</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a0087fa4285dd7f5c0ae3bf930a3447e5"><div class="ttname"><a href="classentt_1_1basic__storage.html#a0087fa4285dd7f5c0ae3bf930a3447e5">entt::basic_storage::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="#l00585">storage.hpp:585</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a0afc17d52410f06e0f166d3d8aa89a9d"><div class="ttname"><a href="classentt_1_1basic__storage.html#a0afc17d52410f06e0f166d3d8aa89a9d">entt::basic_storage::const_iterator</a></div><div class="ttdeci">internal::storage_iterator&lt; const container_type &gt; const_iterator</div><div class="ttdoc">Constant random access iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00412">storage.hpp:412</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a0e445caa667814ee1132fe312d650ce8"><div class="ttname"><a href="classentt_1_1basic__storage.html#a0e445caa667814ee1132fe312d650ce8">entt::basic_storage::~basic_storage</a></div><div class="ttdeci">~basic_storage() override</div><div class="ttdoc">Default destructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00465">storage.hpp:465</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a0f133edb8ff29ccf88a53056cd00aec4"><div class="ttname"><a href="classentt_1_1basic__storage.html#a0f133edb8ff29ccf88a53056cd00aec4">entt::basic_storage::basic_storage</a></div><div class="ttdeci">basic_storage()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00429">storage.hpp:429</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a226b7e547c4b4f24580c041a6b9bc163"><div class="ttname"><a href="classentt_1_1basic__storage.html#a226b7e547c4b4f24580c041a6b9bc163">entt::basic_storage::insert</a></div><div class="ttdeci">iterator insert(EIt first, EIt last, CIt from)</div><div class="ttdoc">Assigns one or more entities to a storage and constructs their objects from a given range.</div><div class="ttdef"><b>Definition</b> <a href="#l00737">storage.hpp:737</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a24ef007aa48f17ac553a93caae35b748"><div class="ttname"><a href="classentt_1_1basic__storage.html#a24ef007aa48f17ac553a93caae35b748">entt::basic_storage::rbegin</a></div><div class="ttdeci">const_reverse_iterator rbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00601">storage.hpp:601</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a28c6c2fb6e1c840a014656568249efc1"><div class="ttname"><a href="classentt_1_1basic__storage.html#a28c6c2fb6e1c840a014656568249efc1">entt::basic_storage::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="#l00580">storage.hpp:580</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a2f4c9502dc518929c71b55f38906d382"><div class="ttname"><a href="classentt_1_1basic__storage.html#a2f4c9502dc518929c71b55f38906d382">entt::basic_storage::raw</a></div><div class="ttdeci">const_pointer raw() const noexcept</div><div class="ttdoc">Direct access to the array of objects.</div><div class="ttdef"><b>Definition</b> <a href="#l00538">storage.hpp:538</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a343212f5eacd1e124fb85be1a6841b60"><div class="ttname"><a href="classentt_1_1basic__storage.html#a343212f5eacd1e124fb85be1a6841b60">entt::basic_storage::pop_all</a></div><div class="ttdeci">void pop_all() override</div><div class="ttdoc">Erases all entities of a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00353">storage.hpp:353</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a3d01c331994076d8d4983b94165c20ac"><div class="ttname"><a href="classentt_1_1basic__storage.html#a3d01c331994076d8d4983b94165c20ac">entt::basic_storage::basic_storage</a></div><div class="ttdeci">basic_storage(basic_storage &amp;&amp;other) noexcept</div><div class="ttdoc">Move constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00447">storage.hpp:447</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a3d5a1009a9e86a3bb051eaaf01864574"><div class="ttname"><a href="classentt_1_1basic__storage.html#a3d5a1009a9e86a3bb051eaaf01864574">entt::basic_storage::get</a></div><div class="ttdeci">const value_type &amp; get(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the object assigned to an entity.</div><div class="ttdef"><b>Definition</b> <a href="#l00639">storage.hpp:639</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a4429fb49d4f32d6d553150b44951a406"><div class="ttname"><a href="classentt_1_1basic__storage.html#a4429fb49d4f32d6d553150b44951a406">entt::basic_storage::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="#l00575">storage.hpp:575</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a45d9ea8409804572c0ec705c2bc8c293"><div class="ttname"><a href="classentt_1_1basic__storage.html#a45d9ea8409804572c0ec705c2bc8c293">entt::basic_storage::capacity</a></div><div class="ttdeci">size_type capacity() const noexcept override</div><div class="ttdoc">Returns the number of elements that a storage has currently allocated space for.</div><div class="ttdef"><b>Definition</b> <a href="#l00524">storage.hpp:524</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a52b98ea4450fcc9ab83d33cfd43ce45c"><div class="ttname"><a href="classentt_1_1basic__storage.html#a52b98ea4450fcc9ab83d33cfd43ce45c">entt::basic_storage::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="#l00500">storage.hpp:500</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a5d8cb6743d7ffa4c83631ec13786b4fe"><div class="ttname"><a href="classentt_1_1basic__storage.html#a5d8cb6743d7ffa4c83631ec13786b4fe">entt::basic_storage::const_pointer</a></div><div class="ttdeci">typename alloc_traits::template rebind_traits&lt; typename alloc_traits::const_pointer &gt;::const_pointer const_pointer</div><div class="ttdoc">Constant pointer type to contained elements.</div><div class="ttdef"><b>Definition</b> <a href="#l00408">storage.hpp:408</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a5e021893afba0e3b7e7d515bec3dd85b"><div class="ttname"><a href="classentt_1_1basic__storage.html#a5e021893afba0e3b7e7d515bec3dd85b">entt::basic_storage::each</a></div><div class="ttdeci">const_iterable each() const noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00758">storage.hpp:758</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a630a15d8b585a288e2b37af3af9ebdfe"><div class="ttname"><a href="classentt_1_1basic__storage.html#a630a15d8b585a288e2b37af3af9ebdfe">entt::basic_storage::swap</a></div><div class="ttdeci">void swap(basic_storage &amp;other) noexcept</div><div class="ttdoc">Exchanges the contents with those of a given storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00490">storage.hpp:490</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a68bc63580895ff61c806941c2ccb620b"><div class="ttname"><a href="classentt_1_1basic__storage.html#a68bc63580895ff61c806941c2ccb620b">entt::basic_storage::value_type</a></div><div class="ttdeci">element_type value_type</div><div class="ttdoc">Type of the objects assigned to entities.</div><div class="ttdef"><b>Definition</b> <a href="#l00400">storage.hpp:400</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a6afc921b176288925f31cc7c72878cf4"><div class="ttname"><a href="classentt_1_1basic__storage.html#a6afc921b176288925f31cc7c72878cf4">entt::basic_storage::rbegin</a></div><div class="ttdeci">reverse_iterator rbegin() noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00606">storage.hpp:606</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a826c6603fc4f3ed07b2453ff477f1fee"><div class="ttname"><a href="classentt_1_1basic__storage.html#a826c6603fc4f3ed07b2453ff477f1fee">entt::basic_storage::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="#l00560">storage.hpp:560</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a83ea309d2fb6b6fdebea70fa2ca1e0d7"><div class="ttname"><a href="classentt_1_1basic__storage.html#a83ea309d2fb6b6fdebea70fa2ca1e0d7">entt::basic_storage::rend</a></div><div class="ttdeci">reverse_iterator rend() noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00625">storage.hpp:625</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a8507e607a4f0e571f0d85637030a86c5"><div class="ttname"><a href="classentt_1_1basic__storage.html#a8507e607a4f0e571f0d85637030a86c5">entt::basic_storage::operator=</a></div><div class="ttdeci">basic_storage &amp; operator=(basic_storage &amp;&amp;other) noexcept</div><div class="ttdoc">Move assignment operator.</div><div class="ttdef"><b>Definition</b> <a href="#l00480">storage.hpp:480</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a8cadeb05e41d85a0e3286a3cb92f61e3"><div class="ttname"><a href="classentt_1_1basic__storage.html#a8cadeb05e41d85a0e3286a3cb92f61e3">entt::basic_storage::entity_type</a></div><div class="ttdeci">Entity entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l00402">storage.hpp:402</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a8cdc33df100e1ffed0daff4b590a7537"><div class="ttname"><a href="classentt_1_1basic__storage.html#a8cdc33df100e1ffed0daff4b590a7537">entt::basic_storage::rend</a></div><div class="ttdeci">const_reverse_iterator rend() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00620">storage.hpp:620</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a96a10490c949af09275a303e7d352f9a"><div class="ttname"><a href="classentt_1_1basic__storage.html#a96a10490c949af09275a303e7d352f9a">entt::basic_storage::try_emplace</a></div><div class="ttdeci">underlying_iterator try_emplace(const Entity entt, const bool force_back, const void *value) override</div><div class="ttdoc">Assigns an entity to a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00376">storage.hpp:376</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a9ab3e6177006330420d5590d280a3f33"><div class="ttname"><a href="classentt_1_1basic__storage.html#a9ab3e6177006330420d5590d280a3f33">entt::basic_storage::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="#l00554">storage.hpp:554</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_a9d153dbdd4f79879d7a8e48ad5aa5484"><div class="ttname"><a href="classentt_1_1basic__storage.html#a9d153dbdd4f79879d7a8e48ad5aa5484">entt::basic_storage::const_reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; const_iterator &gt; const_reverse_iterator</div><div class="ttdoc">Constant reverse iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00416">storage.hpp:416</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_aac5dc88bd5698b4fbf9aa873bdbd0d42"><div class="ttname"><a href="classentt_1_1basic__storage.html#aac5dc88bd5698b4fbf9aa873bdbd0d42">entt::basic_storage::patch</a></div><div class="ttdeci">value_type &amp; patch(const entity_type entt, Func &amp;&amp;...func)</div><div class="ttdoc">Updates the instance assigned to a given entity in-place.</div><div class="ttdef"><b>Definition</b> <a href="#l00693">storage.hpp:693</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_aad006022c957075831aee9f1a798b485"><div class="ttname"><a href="classentt_1_1basic__storage.html#aad006022c957075831aee9f1a798b485">entt::basic_storage::reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; iterator &gt; reverse_iterator</div><div class="ttdoc">Reverse iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00414">storage.hpp:414</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_aaef5c215ade183d00b9f568d249c86d9"><div class="ttname"><a href="classentt_1_1basic__storage.html#aaef5c215ade183d00b9f568d249c86d9">entt::basic_storage::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="#l00404">storage.hpp:404</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_aafe2e98bca923f7069fc231f8250e4ee"><div class="ttname"><a href="classentt_1_1basic__storage.html#aafe2e98bca923f7069fc231f8250e4ee">entt::basic_storage::insert</a></div><div class="ttdeci">iterator insert(It first, It last, const value_type &amp;value={})</div><div class="ttdoc">Assigns one or more entities to a storage and constructs their objects from a given instance.</div><div class="ttdef"><b>Definition</b> <a href="#l00715">storage.hpp:715</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ab2d0f02c4c0a88d6fe42b95e9c2b8226"><div class="ttname"><a href="classentt_1_1basic__storage.html#ab2d0f02c4c0a88d6fe42b95e9c2b8226">entt::basic_storage::pop</a></div><div class="ttdeci">void pop(underlying_iterator first, underlying_iterator last) override</div><div class="ttdoc">Erases entities from a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00334">storage.hpp:334</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ab7a786a114c38b8ee8de18315ec7f7e5"><div class="ttname"><a href="classentt_1_1basic__storage.html#ab7a786a114c38b8ee8de18315ec7f7e5">entt::basic_storage::pointer</a></div><div class="ttdeci">typename container_type::pointer pointer</div><div class="ttdoc">Pointer type to contained elements.</div><div class="ttdef"><b>Definition</b> <a href="#l00406">storage.hpp:406</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_abaf0ee2aa0eedc73f2783f25a0d0ff73"><div class="ttname"><a href="classentt_1_1basic__storage.html#abaf0ee2aa0eedc73f2783f25a0d0ff73">entt::basic_storage::reach</a></div><div class="ttdeci">reverse_iterable reach() noexcept</div><div class="ttdoc">Returns a reverse iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00769">storage.hpp:769</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ac5408c2657df1787649494bff983db37"><div class="ttname"><a href="classentt_1_1basic__storage.html#ac5408c2657df1787649494bff983db37">entt::basic_storage::raw</a></div><div class="ttdeci">pointer raw() noexcept</div><div class="ttdoc">Direct access to the array of objects.</div><div class="ttdef"><b>Definition</b> <a href="#l00543">storage.hpp:543</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ac5557c54e1634c2e796b0a8e5ffe3ab3"><div class="ttname"><a href="classentt_1_1basic__storage.html#ac5557c54e1634c2e796b0a8e5ffe3ab3">entt::basic_storage::get_as_tuple</a></div><div class="ttdeci">std::tuple&lt; value_type &amp; &gt; get_as_tuple(const entity_type entt) noexcept</div><div class="ttdoc">Returns the object assigned to an entity as a tuple.</div><div class="ttdef"><b>Definition</b> <a href="#l00658">storage.hpp:658</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ac6f638341f2c99608bb5c6ddbf47f6eb"><div class="ttname"><a href="classentt_1_1basic__storage.html#ac6f638341f2c99608bb5c6ddbf47f6eb">entt::basic_storage::get</a></div><div class="ttdeci">value_type &amp; get(const entity_type entt) noexcept</div><div class="ttdoc">Returns the object assigned to an entity.</div><div class="ttdef"><b>Definition</b> <a href="#l00644">storage.hpp:644</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_accad70b92b1e1667be5ce183928a3d02"><div class="ttname"><a href="classentt_1_1basic__storage.html#accad70b92b1e1667be5ce183928a3d02">entt::basic_storage::crend</a></div><div class="ttdeci">const_reverse_iterator crend() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the end.</div><div class="ttdef"><b>Definition</b> <a href="#l00615">storage.hpp:615</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ace65bb1e5bd8c99b5ed37c810667872e"><div class="ttname"><a href="classentt_1_1basic__storage.html#ace65bb1e5bd8c99b5ed37c810667872e">entt::basic_storage::reach</a></div><div class="ttdeci">const_reverse_iterable reach() const noexcept</div><div class="ttdoc">Returns a reverse iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00774">storage.hpp:774</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_acfe669358e8c68240dcc617c9d624d4c"><div class="ttname"><a href="classentt_1_1basic__storage.html#acfe669358e8c68240dcc617c9d624d4c">entt::basic_storage::each</a></div><div class="ttdeci">iterable each() noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00753">storage.hpp:753</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad3797487dadd407f1542d4405f49d81b"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad3797487dadd407f1542d4405f49d81b">entt::basic_storage::operator=</a></div><div class="ttdeci">basic_storage &amp; operator=(const basic_storage &amp;)=delete</div><div class="ttdoc">Default copy assignment operator, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad4d0afe56ddfbed03d8ca62a766b176b"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad4d0afe56ddfbed03d8ca62a766b176b">entt::basic_storage::element_type</a></div><div class="ttdeci">Type element_type</div><div class="ttdoc">Element type.</div><div class="ttdef"><b>Definition</b> <a href="#l00398">storage.hpp:398</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad51850043e05582865e5c93fa06421be"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad51850043e05582865e5c93fa06421be">entt::basic_storage::reserve</a></div><div class="ttdeci">void reserve(const size_type cap) override</div><div class="ttdoc">Increases the capacity of a storage.</div><div class="ttdef"><b>Definition</b> <a href="#l00512">storage.hpp:512</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad520f17e1c3fa8a9c370ce86dd36e15f"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad520f17e1c3fa8a9c370ce86dd36e15f">entt::basic_storage::basic_storage</a></div><div class="ttdeci">basic_storage(const allocator_type &amp;allocator)</div><div class="ttdoc">Constructs an empty storage with a given allocator.</div><div class="ttdef"><b>Definition</b> <a href="#l00436">storage.hpp:436</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad53a7224b938b57f633b34af6d6c4621"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad53a7224b938b57f633b34af6d6c4621">entt::basic_storage::emplace</a></div><div class="ttdeci">value_type &amp; emplace(const entity_type entt, Args &amp;&amp;...args)</div><div class="ttdoc">Assigns an entity to a storage and constructs its object.</div><div class="ttdef"><b>Definition</b> <a href="#l00675">storage.hpp:675</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad54c710b9ee32ecf963e30760bb06976"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad54c710b9ee32ecf963e30760bb06976">entt::basic_storage::get_as_tuple</a></div><div class="ttdeci">std::tuple&lt; const value_type &amp; &gt; get_as_tuple(const entity_type entt) const noexcept</div><div class="ttdoc">Returns the object assigned to an entity as a tuple.</div><div class="ttdef"><b>Definition</b> <a href="#l00653">storage.hpp:653</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ad569287dadaa314c700f0e904ef71409"><div class="ttname"><a href="classentt_1_1basic__storage.html#ad569287dadaa314c700f0e904ef71409">entt::basic_storage::shrink_to_fit</a></div><div class="ttdeci">void shrink_to_fit() override</div><div class="ttdoc">Requests the removal of unused capacity.</div><div class="ttdef"><b>Definition</b> <a href="#l00529">storage.hpp:529</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ada8f048f0df07217eb94bd61f2cec729"><div class="ttname"><a href="classentt_1_1basic__storage.html#ada8f048f0df07217eb94bd61f2cec729">entt::basic_storage::crbegin</a></div><div class="ttdeci">const_reverse_iterator crbegin() const noexcept</div><div class="ttdoc">Returns a reverse iterator to the beginning.</div><div class="ttdef"><b>Definition</b> <a href="#l00596">storage.hpp:596</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_ae359b1aa54b4f09e86230caf89d84df4"><div class="ttname"><a href="classentt_1_1basic__storage.html#ae359b1aa54b4f09e86230caf89d84df4">entt::basic_storage::basic_storage</a></div><div class="ttdeci">basic_storage(basic_storage &amp;&amp;other, const allocator_type &amp;allocator)</div><div class="ttdoc">Allocator-extended move constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00456">storage.hpp:456</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_aeef5fab52ef7e9fe4904959b38a85f42"><div class="ttname"><a href="classentt_1_1basic__storage.html#aeef5fab52ef7e9fe4904959b38a85f42">entt::basic_storage::basic_storage</a></div><div class="ttdeci">basic_storage(const basic_storage &amp;)=delete</div><div class="ttdoc">Default copy constructor, deleted on purpose.</div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_aef0e68f7f95a21629c8051aecc703ab0"><div class="ttname"><a href="classentt_1_1basic__storage.html#aef0e68f7f95a21629c8051aecc703ab0">entt::basic_storage::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="#l00565">storage.hpp:565</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_af35a4def9687b5404ecc33a30665e54b"><div class="ttname"><a href="classentt_1_1basic__storage.html#af35a4def9687b5404ecc33a30665e54b">entt::basic_storage::iterator</a></div><div class="ttdeci">internal::storage_iterator&lt; container_type &gt; iterator</div><div class="ttdoc">Random access iterator type.</div><div class="ttdef"><b>Definition</b> <a href="#l00410">storage.hpp:410</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_af42a17a8061be4805ac46ac0a37e915f"><div class="ttname"><a href="classentt_1_1basic__storage.html#af42a17a8061be4805ac46ac0a37e915f">entt::basic_storage::storage_policy</a></div><div class="ttdeci">static constexpr deletion_policy storage_policy</div><div class="ttdoc">Storage deletion policy.</div><div class="ttdef"><b>Definition</b> <a href="#l00426">storage.hpp:426</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__storage_html_afa672dd3b672b653d7b85603b6579cbe"><div class="ttname"><a href="classentt_1_1basic__storage.html#afa672dd3b672b653d7b85603b6579cbe">entt::basic_storage::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="#l00394">storage.hpp:394</a></div></div>
<div class="ttc" id="anamespaceentt_html"><div class="ttname"><a href="namespaceentt.html">entt</a></div><div class="ttdoc">EnTT default namespace.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00022">dense_map.hpp:22</a></div></div>
<div class="ttc" id="anamespaceentt_html_a12e4d0c58f9c4cc6f5513c39c530b9b7"><div class="ttname"><a href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator</a></div><div class="ttdeci">constexpr Type make_obj_using_allocator(const Allocator &amp;allocator, Args &amp;&amp;...args)</div><div class="ttdoc">Uses-allocator construction utility (waiting for C++20).</div><div class="ttdef"><b>Definition</b> <a href="memory_8hpp_source.html#l00219">memory.hpp:219</a></div></div>
<div class="ttc" id="anamespaceentt_html_a1ae98eeee0b0cb3e94d97d08a74a06f0"><div class="ttname"><a href="namespaceentt.html#a1ae98eeee0b0cb3e94d97d08a74a06f0">entt::fast_mod</a></div><div class="ttdeci">constexpr std::enable_if_t&lt; std::is_unsigned_v&lt; Type &gt;, Type &gt; fast_mod(const Type value, const std::size_t mod) noexcept</div><div class="ttdoc">Fast module utility function (powers of two only).</div><div class="ttdef"><b>Definition</b> <a href="bit_8hpp_source.html#l00062">bit.hpp:62</a></div></div>
<div class="ttc" id="anamespaceentt_html_a2f0c0a1c1d953ea991591748744cdd8b"><div class="ttname"><a href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">entt::null</a></div><div class="ttdeci">constexpr null_t null</div><div class="ttdoc">Compile-time constant for null entities.</div><div class="ttdef"><b>Definition</b> <a href="entity_8hpp_source.html#l00375">entity.hpp:375</a></div></div>
<div class="ttc" id="anamespaceentt_html_a674269102fdfe3fd6d7766210a828862"><div class="ttname"><a href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">entt::tombstone</a></div><div class="ttdeci">constexpr tombstone_t tombstone</div><div class="ttdoc">Compile-time constant for tombstone entities.</div><div class="ttdef"><b>Definition</b> <a href="entity_8hpp_source.html#l00384">entity.hpp:384</a></div></div>
<div class="ttc" id="anamespaceentt_html_a81f946567d220e7c8814636333d0cbe0"><div class="ttname"><a href="namespaceentt.html#a81f946567d220e7c8814636333d0cbe0">entt::uninitialized_construct_using_allocator</a></div><div class="ttdeci">constexpr Type * uninitialized_construct_using_allocator(Type *value, 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#l00238">memory.hpp:238</a></div></div>
<div class="ttc" id="anamespaceentt_html_a8c24ecc5ab0055f9f2a4725c95afb29e"><div class="ttname"><a href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">entt::get</a></div><div class="ttdeci">constexpr get_t&lt; Type... &gt; get</div><div class="ttdoc">Variable template for lists of observed elements.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00168">fwd.hpp:168</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_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_abc4d0fa77fae26e7c01793990996c581"><div class="ttname"><a href="namespaceentt.html#abc4d0fa77fae26e7c01793990996c581">entt::deletion_policy</a></div><div class="ttdeci">deletion_policy</div><div class="ttdoc">Storage deletion policy.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00017">fwd.hpp:17</a></div></div>
<div class="ttc" id="anamespaceentt_html_abc4d0fa77fae26e7c01793990996c581a62044f8c7b1568e4536403704282322b"><div class="ttname"><a href="namespaceentt.html#abc4d0fa77fae26e7c01793990996c581a62044f8c7b1568e4536403704282322b">entt::deletion_policy::swap_only</a></div><div class="ttdeci">@ swap_only</div><div class="ttdoc">Swap-only deletion policy.</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_adb9682d476edbbe4434680363f9c0eb3"><div class="ttname"><a href="namespaceentt.html#adb9682d476edbbe4434680363f9c0eb3">entt::type_id</a></div><div class="ttdeci">const type_info &amp; type_id() noexcept</div><div class="ttdoc">Returns the type info object associated to a given type.</div><div class="ttdef"><b>Definition</b> <a href="type__info_8hpp_source.html#l00251">type_info.hpp:251</a></div></div>
<div class="ttc" id="anamespaceentt_html_add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15"><div class="ttname"><a href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">entt::any_policy::ref</a></div><div class="ttdeci">@ ref</div><div class="ttdoc">Aliasing mode, the object points to a non-const element.</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_af0ecb90b45a53e3272d761c237a0d850"><div class="ttname"><a href="namespaceentt.html#af0ecb90b45a53e3272d761c237a0d850">entt::to_address</a></div><div class="ttdeci">constexpr auto to_address(Type &amp;&amp;ptr) noexcept</div><div class="ttdoc">Unwraps fancy pointers, does nothing otherwise (waiting for C++20).</div><div class="ttdef"><b>Definition</b> <a href="memory_8hpp_source.html#l00020">memory.hpp:20</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_1component__traits_html"><div class="ttname"><a href="structentt_1_1component__traits.html">entt::component_traits</a></div><div class="ttdoc">Common way to access various properties of components.</div><div class="ttdef"><b>Definition</b> <a href="component_8hpp_source.html#l00042">component.hpp:42</a></div></div>
<div class="ttc" id="astructentt_1_1component__traits_html_a8fa4acd0fc9b0c554ea805961a5b6f8b"><div class="ttname"><a href="structentt_1_1component__traits.html#a8fa4acd0fc9b0c554ea805961a5b6f8b">entt::component_traits::page_size</a></div><div class="ttdeci">static constexpr std::size_t page_size</div><div class="ttdoc">Page size, default is ENTT_PACKED_PAGE for non-empty types.</div><div class="ttdef"><b>Definition</b> <a href="component_8hpp_source.html#l00051">component.hpp:51</a></div></div>
<div class="ttc" id="astructentt_1_1component__traits_html_ac3efe50eb183fe2a31b642ade474017f"><div class="ttname"><a href="structentt_1_1component__traits.html#ac3efe50eb183fe2a31b642ade474017f">entt::component_traits::in_place_delete</a></div><div class="ttdeci">static constexpr bool in_place_delete</div><div class="ttdoc">Pointer stability, default is false.</div><div class="ttdef"><b>Definition</b> <a href="component_8hpp_source.html#l00049">component.hpp:49</a></div></div>
<div class="ttc" id="astructentt_1_1entt__traits_html"><div class="ttname"><a href="structentt_1_1entt__traits.html">entt::entt_traits</a></div><div class="ttdoc">Entity traits.</div><div class="ttdef"><b>Definition</b> <a href="entity_8hpp_source.html#l00163">entity.hpp:163</a></div></div>
<div class="ttc" id="astructentt_1_1iterable__adaptor_html"><div class="ttname"><a href="structentt_1_1iterable__adaptor.html">entt::iterable_adaptor</a></div><div class="ttdoc">Utility class to create an iterable object from a pair of iterators.</div><div class="ttdef"><b>Definition</b> <a href="iterator_8hpp_source.html#l00141">iterator.hpp:141</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>