Files
entt/group_8hpp_source.html
2023-06-15 11:47:04 +02:00

775 lines
190 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.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EnTT: src/entt/entity/group.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>
<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.12.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<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');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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">group.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_GROUP_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_ENTITY_GROUP_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;tuple&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &quot;../config/config.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;../core/fwd.hpp&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;../core/iterator.hpp&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;../core/type_info.hpp&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;../core/type_traits.hpp&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &quot;entity.hpp&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include &quot;fwd.hpp&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &quot;sparse_set.hpp&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include &quot;storage.hpp&quot;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</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>, <span class="keyword">typename</span>, <span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">class </span>extended_group_iterator;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> It, <span class="keyword">typename</span>... Owned, <span class="keyword">typename</span>... Get&gt;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">class </span>extended_group_iterator&lt;It, owned_t&lt;Owned...&gt;, get_t&lt;Get...&gt;&gt; {</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">auto</span> index_to_element([[maybe_unused]] Type &amp;cpool)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(Type::traits_type::page_size == 0u) {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordflow">return</span> std::make_tuple();</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keywordflow">return</span> std::forward_as_tuple(cpool.rbegin()[it.index()]);</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> }</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">using </span>iterator_type = It;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">using </span>difference_type = std::ptrdiff_t;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</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::declval&lt;Owned&gt;().get_as_tuple({})..., std::declval&lt;Get&gt;().get_as_tuple({})...));</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">using </span>pointer = input_iterator_pointer&lt;value_type&gt;;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">using </span>reference = value_type;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">using </span>iterator_category = std::input_iterator_tag;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">constexpr</span> extended_group_iterator()</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> : it{},</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> pools{} {}</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> extended_group_iterator(It from, <span class="keyword">const</span> std::tuple&lt;Owned *..., Get *...&gt; &amp;cpools)</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> : it{from},</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> pools{cpools} {}</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> extended_group_iterator &amp;operator++() noexcept {</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">return</span> ++it, *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> }</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> extended_group_iterator operator++(<span class="keywordtype">int</span>) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> extended_group_iterator orig = *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordflow">return</span> ++(*this), orig;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> }</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> [[nodiscard]] reference operator*() const noexcept {</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordflow">return</span> std::tuple_cat(std::make_tuple(*it), index_to_element(*std::get&lt;Owned *&gt;(pools))..., std::get&lt;Get *&gt;(pools)-&gt;get_as_tuple(*it)...);</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> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> [[nodiscard]] pointer operator-&gt;() const noexcept {</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keywordflow">return</span> operator*();</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> [[nodiscard]] <span class="keyword">constexpr</span> iterator_type base() const noexcept {</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">return</span> it;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</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> <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="l00078" name="l00078"></a><span class="lineno"> 78</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_group_iterator&lt;Lhs...&gt; &amp;, <span class="keyword">const</span> extended_group_iterator&lt;Rhs...&gt; &amp;) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> It it;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> std::tuple&lt;Owned *..., Get *...&gt; pools;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>};</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Lhs, <span class="keyword">typename</span>... Rhs&gt;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</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_group_iterator&lt;Lhs...&gt; &amp;lhs, <span class="keyword">const</span> extended_group_iterator&lt;Rhs...&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> lhs.it == rhs.it;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span>}</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Lhs, <span class="keyword">typename</span>... Rhs&gt;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</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_group_iterator&lt;Lhs...&gt; &amp;lhs, <span class="keyword">const</span> extended_group_iterator&lt;Rhs...&gt; &amp;rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> !(lhs == rhs);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span>}</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="keyword">struct </span>group_descriptor {</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">using </span>size_type = std::size_t;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">virtual</span> ~group_descriptor() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">virtual</span> size_type <a class="code hl_variable" href="namespaceentt.html#ac91ddbe2446a912714a5fe7251e25768">owned</a>(<span class="keyword">const</span> id_type *, <span class="keyword">const</span> size_type) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> 0u;</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>};</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>, <span class="keyword">typename</span>, <span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="keyword">class </span>group_handler;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Owned, <span class="keyword">typename</span>... Get, <span class="keyword">typename</span>... Exclude&gt;</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="keyword">class </span>group_handler&lt;owned_t&lt;Owned...&gt;, get_t&lt;Get...&gt;, exclude_t&lt;Exclude...&gt;&gt; final: <span class="keyword">public</span> group_descriptor {</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="comment">// nasty workaround for an issue with the toolset v141 that doesn&#39;t accept a fold expression here</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keyword">static_assert</span>(!std::disjunction_v&lt;std::bool_constant&lt;Owned::traits_type::in_place_delete&gt;...&gt;, <span class="stringliteral">&quot;Groups do not support in-place delete&quot;</span>);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">static_assert</span>(!std::disjunction_v&lt;std::is_const&lt;Owned&gt;..., std::is_const&lt;Get&gt;..., std::is_const&lt;Exclude&gt;...&gt;, <span class="stringliteral">&quot;Const storage type not allowed&quot;</span>);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keyword">using </span>base_type = std::common_type_t&lt;<span class="keyword">typename</span> Owned::base_type..., <span class="keyword">typename</span> Get::base_type..., <span class="keyword">typename</span> Exclude::base_type...&gt;;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">using </span>entity_type = <span class="keyword">typename</span> base_type::entity_type;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordtype">void</span> swap_elements(<span class="keyword">const</span> std::size_t pos, <span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> std::apply([pos, <a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { (cpool-&gt;swap_elements(cpool-&gt;data()[pos], <a class="code hl_namespace" href="namespaceentt.html">entt</a>), ...); }, pools);</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="keywordtype">void</span> push_on_construct(<span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">if</span>(std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>, len = len](<span class="keyword">auto</span> *cpool, <span class="keyword">auto</span> *...other) { <span class="keywordflow">return</span> cpool-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; !(cpool-&gt;index(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; len) &amp;&amp; (other-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; ...); }, pools)</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> &amp;&amp; std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { <span class="keywordflow">return</span> (!cpool-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; ...); }, filter)) {</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> swap_elements(len++, <a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> }</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> }</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordtype">void</span> push_on_destroy(<span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">if</span>(std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>, len = len](<span class="keyword">auto</span> *cpool, <span class="keyword">auto</span> *...other) { <span class="keywordflow">return</span> cpool-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; !(cpool-&gt;index(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; len) &amp;&amp; (other-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; ...); }, pools)</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> &amp;&amp; std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { <span class="keywordflow">return</span> (0u + ... + cpool-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)) == 1u; }, filter)) {</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> swap_elements(len++, <a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> }</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> }</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordtype">void</span> remove_if(<span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">if</span>(std::get&lt;0&gt;(pools)-&gt;contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; (std::get&lt;0&gt;(pools)-&gt;index(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; len)) {</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> swap_elements(--len, <a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> }</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">using </span>size_type = <span class="keyword">typename</span> base_type::size_type;</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> group_handler(Owned &amp;...opool, Get &amp;...gpool, Exclude &amp;...epool)</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> : pools{&amp;opool..., &amp;gpool...},</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> filter{&amp;epool...},</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> len{} {</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> std::apply([<span class="keyword">this</span>](<span class="keyword">auto</span> *...cpool) { ((cpool-&gt;on_construct().<span class="keyword">template</span> connect&lt;&amp;group_handler::push_on_construct&gt;(*<span class="keyword">this</span>), cpool-&gt;on_destroy().template connect&lt;&amp;group_handler::remove_if&gt;(*<span class="keyword">this</span>)), ...); }, pools);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> std::apply([<span class="keyword">this</span>](<span class="keyword">auto</span> *...cpool) { ((cpool-&gt;on_construct().<span class="keyword">template</span> connect&lt;&amp;group_handler::remove_if&gt;(*<span class="keyword">this</span>), cpool-&gt;on_destroy().template connect&lt;&amp;group_handler::push_on_destroy&gt;(*<span class="keyword">this</span>)), ...); }, filter);</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="comment">// we cannot iterate backwards because we want to leave behind valid entities in case of owned types</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> *first = std::get&lt;0&gt;(pools)-&gt;data(), *last = first + std::get&lt;0&gt;(pools)-&gt;size(); first != last; ++first) {</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> push_on_construct(*first);</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> }</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> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> size_type <a class="code hl_variable" href="namespaceentt.html#ac91ddbe2446a912714a5fe7251e25768">owned</a>(<span class="keyword">const</span> id_type *elem, <span class="keyword">const</span> size_type length) <span class="keyword">const</span> <span class="keyword">noexcept</span> <span class="keyword">final</span> {</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> size_type cnt = 0u;</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> pos = 0u; pos &lt; length; ++pos) {</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> cnt += ((elem[pos] == <a class="code hl_function" href="structentt_1_1type__hash.html#a925c3666663e463a28897f04a7e2c314">entt::type_hash&lt;typename Owned::value_type&gt;::value</a>()) || ...);</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> }</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> <span class="keywordflow">return</span> cnt;</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> }</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> [[nodiscard]] size_type length() const noexcept {</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keywordflow">return</span> len;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> }</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </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> Type&gt;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> Type pools_as() const noexcept {</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordflow">return</span> pools;</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> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> Type filter_as() const noexcept {</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <span class="keywordflow">return</span> filter;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> }</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> std::tuple&lt;Owned *..., Get *...&gt; pools;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> std::tuple&lt;Exclude *...&gt; filter;</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> std::size_t len;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>};</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Get, <span class="keyword">typename</span>... Exclude&gt;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span><span class="keyword">class </span>group_handler&lt;owned_t&lt;&gt;, get_t&lt;Get...&gt;, exclude_t&lt;Exclude...&gt;&gt; final: <span class="keyword">public</span> group_descriptor {</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="comment">// nasty workaround for an issue with the toolset v141 that doesn&#39;t accept a fold expression here</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keyword">static_assert</span>(!std::disjunction_v&lt;std::is_const&lt;Get&gt;..., std::is_const&lt;Exclude&gt;...&gt;, <span class="stringliteral">&quot;Const storage type not allowed&quot;</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> <span class="keyword">using </span>base_type = std::common_type_t&lt;<span class="keyword">typename</span> Get::base_type..., <span class="keyword">typename</span> Exclude::base_type...&gt;;</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="keyword">using </span>entity_type = <span class="keyword">typename</span> base_type::entity_type;</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <span class="keywordtype">void</span> push_on_construct(<span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keywordflow">if</span>(!elem.contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> &amp;&amp; std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { return (cpool-&gt;contains(entt) &amp;&amp; ...); }, pools)</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> &amp;&amp; std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { return (!cpool-&gt;contains(entt) &amp;&amp; ...); }, filter)) {</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> elem.push(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> }</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> }</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="keywordtype">void</span> push_on_destroy(<span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keywordflow">if</span>(!elem.contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> &amp;&amp; std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { return (cpool-&gt;contains(entt) &amp;&amp; ...); }, pools)</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> &amp;&amp; std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...cpool) { return (0u + ... + cpool-&gt;contains(entt)) == 1u; }, filter)) {</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> elem.push(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> }</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> }</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> </div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <span class="keywordtype">void</span> remove_if(<span class="keyword">const</span> entity_type <a class="code hl_namespace" href="namespaceentt.html">entt</a>) {</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> elem.remove(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> }</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> <span class="keyword">using </span>common_type = base_type;</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Alloc&gt;</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> group_handler(<span class="keyword">const</span> Alloc &amp;alloc, Get &amp;...gpool, Exclude &amp;...epool)</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> : pools{&amp;gpool...},</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> filter{&amp;epool...},</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> elem{alloc} {</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> std::apply([<span class="keyword">this</span>](<span class="keyword">auto</span> *...cpool) { ((cpool-&gt;on_construct().<span class="keyword">template</span> connect&lt;&amp;group_handler::push_on_construct&gt;(*<span class="keyword">this</span>), cpool-&gt;on_destroy().template connect&lt;&amp;group_handler::remove_if&gt;(*<span class="keyword">this</span>)), ...); }, pools);</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> std::apply([<span class="keyword">this</span>](<span class="keyword">auto</span> *...cpool) { ((cpool-&gt;on_construct().<span class="keyword">template</span> connect&lt;&amp;group_handler::remove_if&gt;(*<span class="keyword">this</span>), cpool-&gt;on_destroy().template connect&lt;&amp;group_handler::push_on_destroy&gt;(*<span class="keyword">this</span>)), ...); }, filter);</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> entity: <span class="keyword">static_cast&lt;</span>base_type &amp;<span class="keyword">&gt;</span>(*std::get&lt;0&gt;(pools))) {</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> push_on_construct(entity);</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> }</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> }</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> common_type &amp;<a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>() noexcept {</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keywordflow">return</span> elem;</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> }</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> <span class="keyword">const</span> common_type &amp;<a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>() const noexcept {</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="keywordflow">return</span> elem;</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> }</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> Type pools_as() const noexcept {</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordflow">return</span> pools;</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">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> Type filter_as() const noexcept {</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> <span class="keywordflow">return</span> filter;</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> }</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> std::tuple&lt;Get *...&gt; pools;</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> std::tuple&lt;Exclude *...&gt; filter;</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> base_type elem;</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span>};</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> </div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span>} <span class="comment">// namespace internal</span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>, <span class="keyword">typename</span>, <span class="keyword">typename</span>&gt;</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span><span class="keyword">class </span>basic_group;</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> </div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Get, <span class="keyword">typename</span>... Exclude&gt;</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html"> 292</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__group.html">basic_group</a>&lt;<a class="code hl_struct" href="structentt_1_1owned__t.html">owned_t</a>&lt;&gt;, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t</a>&lt;Get...&gt;, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t</a>&lt;Exclude...&gt;&gt; {</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keyword">using </span>base_type = std::common_type_t&lt;<span class="keyword">typename</span> Get::base_type..., <span class="keyword">typename</span> Exclude::base_type...&gt;;</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keyword">using </span>underlying_type = <span class="keyword">typename</span> base_type::entity_type;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> std::size_t index_of = type_list_index_v&lt;std::remove_const_t&lt;Type&gt;, <a class="code hl_struct" href="structentt_1_1type__list.html">type_list</a>&lt;<span class="keyword">typename</span> Get::value_type..., <span class="keyword">typename</span> Exclude::value_type...&gt;&gt;;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> </div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <span class="keyword">auto</span> pools() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <span class="keyword">using </span>return_type = std::tuple&lt;Get *...&gt;;</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keywordflow">return</span> descriptor ? descriptor-&gt;template pools_as&lt;return_type&gt;() : return_type{};</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> }</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> </div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <span class="keyword">auto</span> filter() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keyword">using </span>return_type = std::tuple&lt;Exclude *...&gt;;</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <span class="keywordflow">return</span> descriptor ? descriptor-&gt;template filter_as&lt;return_type&gt;() : return_type{};</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> }</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> </div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480"> 311</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entity_type</a> = underlying_type;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4"> 313</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">size_type</a> = std::size_t;</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ae404710a7c3d6d5ca6b2066d0bffea07"> 315</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ae404710a7c3d6d5ca6b2066d0bffea07">common_type</a> = base_type;</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f"> 317</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a> = <span class="keyword">typename</span> common_type::iterator;</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469"> 319</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469">reverse_iterator</a> = <span class="keyword">typename</span> common_type::reverse_iterator;</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a95530cd33c359361e76f8fb353915151"> 321</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_group_iterator&lt;iterator, owned_t&lt;&gt;</a>, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t</a>&lt;Get...&gt;&gt;&gt;;</div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a27f0cdbb6b32004c9f19c7a0451d7a96"> 323</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a27f0cdbb6b32004c9f19c7a0451d7a96">handler</a> = internal::group_handler&lt;owned_t&lt;&gt;, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t&lt;std::remove_const_t&lt;Get&gt;</a>...&gt;, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t&lt;std::remove_const_t&lt;Exclude&gt;</a>...&gt;&gt;;</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#af0007b6e275808ca8037551a4133a0b8"> 326</a></span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#af0007b6e275808ca8037551a4133a0b8">basic_group</a>() noexcept</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> : descriptor{} {}</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a2048d3e38b1ef64777a701d4a9e1a92d"> 333</a></span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a2048d3e38b1ef64777a701d4a9e1a92d">basic_group</a>(<a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a27f0cdbb6b32004c9f19c7a0451d7a96">handler</a> &amp;ref) noexcept</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> : descriptor{&amp;ref} {}</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> </div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a4d5bfe2db9bebc127208c2d19e4731f6"> 340</a></span> [[nodiscard]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ae404710a7c3d6d5ca6b2066d0bffea07">common_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a4d5bfe2db9bebc127208c2d19e4731f6">handle</a>() const noexcept {</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <span class="keywordflow">return</span> descriptor-&gt;handle();</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> }</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> </div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a18edc7d92e7c5a336405c686fd102d9b"> 350</a></span> [[nodiscard]] <span class="keyword">auto</span> *<a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a18edc7d92e7c5a336405c686fd102d9b">storage</a>() const noexcept {</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage&lt;index_of&lt;Type&gt;</a>&gt;();</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> }</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> </div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <span class="keyword">template</span>&lt;std::<span class="keywordtype">size_t</span> Index&gt;</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a18edc7d92e7c5a336405c686fd102d9b"> 360</a></span> [[nodiscard]] <span class="keyword">auto</span> *<a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a18edc7d92e7c5a336405c686fd102d9b">storage</a>() const noexcept {</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> offset = <span class="keyword">sizeof</span>...(Get);</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> </div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(Index &lt; offset) {</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> <span class="keywordflow">return</span> std::get&lt;Index&gt;(pools());</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> <span class="keywordflow">return</span> std::get&lt;Index - offset&gt;(filter());</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> }</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> }</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> </div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#afd8a5c5072abffebe052dd8f1eeb7411"> 374</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">size_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#afd8a5c5072abffebe052dd8f1eeb7411">size</a>() const noexcept {</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().size() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">size_type</a>{};</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> }</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#aaec4bf1c339ee706c1e382f81e995116"> 383</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">size_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#aaec4bf1c339ee706c1e382f81e995116">capacity</a>() const noexcept {</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().capacity() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">size_type</a>{};</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> }</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ab0dee7a4e6589ce4a1bdec06a38f3e59"> 388</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ab0dee7a4e6589ce4a1bdec06a38f3e59">shrink_to_fit</a>() {</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> <span class="keywordflow">if</span>(*<span class="keyword">this</span>) {</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> descriptor-&gt;handle().shrink_to_fit();</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> }</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a64e489bb00e091fd7203d91b5d1aaf5a"> 398</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a64e489bb00e091fd7203d91b5d1aaf5a">empty</a>() const noexcept {</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> <span class="keywordflow">return</span> !*<span class="keyword">this</span> || <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().empty();</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> }</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> </div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a02df8d2cc8e492f0faa1b8218591f258"> 409</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a02df8d2cc8e492f0faa1b8218591f258">begin</a>() const noexcept {</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().begin() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a>{};</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> }</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> </div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac94857c70d27826612b584af4c70f200"> 418</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac94857c70d27826612b584af4c70f200">end</a>() const noexcept {</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().end() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a>{};</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span> }</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> </div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a3c52657f3305d9076c8859df5e2792f2"> 429</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a3c52657f3305d9076c8859df5e2792f2">rbegin</a>() const noexcept {</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().rbegin() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469">reverse_iterator</a>{};</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> }</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> </div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#abfbf1ce09751a74c56743688c7769f99"> 439</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#abfbf1ce09751a74c56743688c7769f99">rend</a>() const noexcept {</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().rend() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469">reverse_iterator</a>{};</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> }</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> </div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ab5ba983fbaee1dce61af5edeb3872ecd"> 448</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ab5ba983fbaee1dce61af5edeb3872ecd">front</a>() const noexcept {</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span> <span class="keyword">const</span> <span class="keyword">auto</span> it = begin();</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> <span class="keywordflow">return</span> it != end() ? *it : <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>;</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> }</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> </div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ad23be7c83702338af05db3fd851a4a1b"> 458</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ad23be7c83702338af05db3fd851a4a1b">back</a>() const noexcept {</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> <span class="keyword">const</span> <span class="keyword">auto</span> it = rbegin();</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> <span class="keywordflow">return</span> it != rend() ? *it : <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>;</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> }</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> </div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac63cc46269cc44038dee7f51a3663342"> 469</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac63cc46269cc44038dee7f51a3663342">find</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">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="l00470" name="l00470"></a><span class="lineno"> 470</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().find(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">iterator</a>{};</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> }</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> </div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a38ee47145fc3fcb63ab0a80250f43a55"> 478</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a38ee47145fc3fcb63ab0a80250f43a55">operator[]</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">size_type</a> pos)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> <span class="keywordflow">return</span> begin()[pos];</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> }</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> </div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a5032823e971e2da23bacae135c78fbd2"> 486</a></span> [[nodiscard]] <span class="keyword">explicit</span> <span class="keyword">operator</span> bool() const noexcept {</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"> 487</span> <span class="keywordflow">return</span> descriptor != <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span> }</div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> </div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a38f5f9228661385295bc7a576fb187fe"> 495</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a38f5f9228661385295bc7a576fb187fe">contains</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">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="l00496" name="l00496"></a><span class="lineno"> 496</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> &amp;&amp; <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> }</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> </div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span>... Other&gt;</div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a507bcb4508ac957e96be3b4691633aa9"> 512</a></span> [[nodiscard]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a507bcb4508ac957e96be3b4691633aa9">get</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> {</div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> <span class="keywordflow">return</span> get&lt;index_of&lt;Type&gt;, index_of&lt;Other&gt;...&gt;(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> }</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> </div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span> <span class="keyword">template</span>&lt;std::size_t... Index&gt;</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a8a9d3d57c43e454d991d1c7c85752cd9"> 528</a></span> [[nodiscard]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a8a9d3d57c43e454d991d1c7c85752cd9">get</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> {</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> <span class="keyword">const</span> <span class="keyword">auto</span> cpools = pools();</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> </div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 0) {</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> <span class="keywordflow">return</span> std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...curr) { <span class="keywordflow">return</span> std::tuple_cat(curr-&gt;get_as_tuple(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)...); }, cpools);</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 1) {</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span> <span class="keywordflow">return</span> (std::get&lt;Index&gt;(cpools)-&gt;get(<a class="code hl_namespace" href="namespaceentt.html">entt</a>), ...);</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> <span class="keywordflow">return</span> std::tuple_cat(std::get&lt;Index&gt;(cpools)-&gt;get_as_tuple(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)...);</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> }</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> }</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span> </div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Func&gt;</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a7a9e949db960db1c091f7042b6829026"> 563</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a7a9e949db960db1c091f7042b6829026">each</a>(Func func)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_namespace" href="namespaceentt.html">entt</a>: *<span class="keyword">this</span>) {</div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<a class="code hl_variable" href="namespaceentt.html#a4f238620469de3ef2bafdb28fe4657ef">is_applicable_v</a>&lt;Func, <span class="keyword">decltype</span>(std::tuple_cat(std::tuple&lt;entity_type&gt;{}, std::declval&lt;basic_group&gt;().get({})))&gt;) {</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> std::apply(func, std::tuple_cat(std::make_tuple(<a class="code hl_namespace" href="namespaceentt.html">entt</a>), <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="l00567" name="l00567"></a><span class="lineno"> 567</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> std::apply(func, <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="l00569" name="l00569"></a><span class="lineno"> 569</span> }</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> }</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> }</div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"> 572</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#adc11363d541605654bf66ed62f5359eb"> 586</a></span> [[nodiscard]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#adc11363d541605654bf66ed62f5359eb">each</a>() const noexcept {</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> <span class="keyword">const</span> <span class="keyword">auto</span> cpools = pools();</div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> <span class="keywordflow">return</span> <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a>{{begin(), cpools}, {end(), cpools}};</div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> }</div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span> </div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span>... Other, <span class="keyword">typename</span> Compare, <span class="keyword">typename</span> Sort = <a class="code hl_struct" href="structentt_1_1std__sort.html">std_sort</a>, <span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a4f242692abecbf361c09117c14c73fe4"> 625</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a4f242692abecbf361c09117c14c73fe4">sort</a>(Compare compare, Sort algo = Sort{}, Args &amp;&amp;...args) {</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span> sort&lt;index_of&lt;Type&gt;, index_of&lt;Other&gt;...&gt;(std::move(compare), std::move(algo), std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"> 627</span> }</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"> 628</span> </div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span> <span class="keyword">template</span>&lt;std::size_t... Index, <span class="keyword">typename</span> Compare, <span class="keyword">typename</span> Sort = std_sort, <span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a3be8735e76b3d7389c783a60ad80d624"> 643</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a3be8735e76b3d7389c783a60ad80d624">sort</a>(Compare compare, Sort algo = Sort{}, Args &amp;&amp;...args) {</div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span> <span class="keywordflow">if</span>(*<span class="keyword">this</span>) {</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 0) {</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span> <span class="keyword">static_assert</span>(std::is_invocable_v&lt;Compare, const entity_type, const entity_type&gt;, <span class="stringliteral">&quot;Invalid comparison function&quot;</span>);</div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> descriptor-&gt;handle().sort(std::move(compare), std::move(algo), std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> <span class="keyword">auto</span> comp = [&amp;compare, cpools = pools()](<span class="keyword">const</span> entity_type lhs, <span class="keyword">const</span> entity_type rhs) {</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 1) {</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"> 651</span> <span class="keywordflow">return</span> compare((std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(lhs), ...), (std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(rhs), ...));</div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"> 652</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> <span class="keywordflow">return</span> compare(std::forward_as_tuple(std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(lhs)...), std::forward_as_tuple(std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(rhs)...));</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> }</div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span> };</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span> </div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span> descriptor-&gt;handle().sort(std::move(comp), std::move(algo), std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span> }</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span> }</div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> }</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> </div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a64e771afc3afcabba0a95a800d91fa97"> 670</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a64e771afc3afcabba0a95a800d91fa97">sort_as</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ae404710a7c3d6d5ca6b2066d0bffea07">common_type</a> &amp;other)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> <span class="keywordflow">if</span>(*<span class="keyword">this</span>) {</div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> descriptor-&gt;handle().sort_as(other);</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> }</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span> }</div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span> </div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"> 676</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> handler *descriptor;</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span>};</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span> </div>
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno"> 711</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>... Owned, <span class="keyword">typename</span>... Get, <span class="keyword">typename</span>... Exclude&gt;</div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html"> 712</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__group.html">basic_group</a>&lt;<a class="code hl_struct" href="structentt_1_1owned__t.html">owned_t</a>&lt;Owned...&gt;, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t</a>&lt;Get...&gt;, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t</a>&lt;Exclude...&gt;&gt; {</div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno"> 713</span> <span class="keyword">using </span>base_type = std::common_type_t&lt;<span class="keyword">typename</span> Owned::base_type..., <span class="keyword">typename</span> Get::base_type..., <span class="keyword">typename</span> Exclude::base_type...&gt;;</div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"> 714</span> <span class="keyword">using </span>underlying_type = <span class="keyword">typename</span> base_type::entity_type;</div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"> 715</span> </div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"> 716</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> std::size_t index_of = type_list_index_v&lt;std::remove_const_t&lt;Type&gt;, <a class="code hl_struct" href="structentt_1_1type__list.html">type_list</a>&lt;<span class="keyword">typename</span> Owned::value_type..., <span class="keyword">typename</span> Get::value_type..., <span class="keyword">typename</span> Exclude::value_type...&gt;&gt;;</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> <span class="keyword">auto</span> pools() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span> <span class="keyword">using </span>return_type = std::tuple&lt;Owned *..., Get *...&gt;;</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> <span class="keywordflow">return</span> descriptor ? descriptor-&gt;template pools_as&lt;return_type&gt;() : return_type{};</div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span> }</div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"> 723</span> </div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span> <span class="keyword">auto</span> filter() <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span> <span class="keyword">using </span>return_type = std::tuple&lt;Exclude *...&gt;;</div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"> 726</span> <span class="keywordflow">return</span> descriptor ? descriptor-&gt;template filter_as&lt;return_type&gt;() : return_type{};</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"> 727</span> }</div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"> 728</span> </div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno"> 729</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1"> 731</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entity_type</a> = underlying_type;</div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a4e34173909e85aa6ce57d1e21359ca60"> 733</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a4e34173909e85aa6ce57d1e21359ca60">size_type</a> = std::size_t;</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a51f55ba9c65468ef4f615fae26b881d7"> 735</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a51f55ba9c65468ef4f615fae26b881d7">common_type</a> = base_type;</div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64"> 737</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a> = <span class="keyword">typename</span> common_type::iterator;</div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e"> 739</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e">reverse_iterator</a> = <span class="keyword">typename</span> common_type::reverse_iterator;</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a087d590d6ddfac55950d90f1f5b0dac9"> 741</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</a>&lt;internal::extended_group_iterator&lt;<a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a>, <a class="code hl_struct" href="structentt_1_1owned__t.html">owned_t</a>&lt;Owned...&gt;, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t</a>&lt;Get...&gt;&gt;&gt;;</div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a1c11b96226a9b060e4d9d0eef70ffb56"> 743</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a1c11b96226a9b060e4d9d0eef70ffb56">handler</a> = internal::group_handler&lt;owned_t&lt;std::remove_const_t&lt;Owned&gt;...&gt;, <a class="code hl_struct" href="structentt_1_1get__t.html">get_t&lt;std::remove_const_t&lt;Get&gt;</a>...&gt;, <a class="code hl_struct" href="structentt_1_1exclude__t.html">exclude_t&lt;std::remove_const_t&lt;Exclude&gt;</a>...&gt;&gt;;</div>
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno"> 744</span> </div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a181467a35167330707fbe2ad94a60e57"> 746</a></span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a181467a35167330707fbe2ad94a60e57">basic_group</a>() noexcept</div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno"> 747</span> : descriptor{} {}</div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno"> 748</span> </div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a891037fd8c4d3d4eb6dca94ebbd0ab74"> 753</a></span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a891037fd8c4d3d4eb6dca94ebbd0ab74">basic_group</a>(<a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a1c11b96226a9b060e4d9d0eef70ffb56">handler</a> &amp;ref) noexcept</div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"> 754</span> : descriptor{&amp;ref} {}</div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno"> 755</span> </div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a02195bbadcbe2f41854c7dc0a0a178e1"> 760</a></span> [[nodiscard]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a51f55ba9c65468ef4f615fae26b881d7">common_type</a> &amp;<a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a02195bbadcbe2f41854c7dc0a0a178e1">handle</a>() const noexcept {</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"> 761</span> <span class="keywordflow">return</span> *<a class="code hl_class" href="classentt_1_1basic__storage.html">storage&lt;0&gt;</a>();</div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"> 762</span> }</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"> 763</span> </div>
<div class="line"><a id="l00769" name="l00769"></a><span class="lineno"> 769</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a544a600146d8e1a23d7233ef0447198f"> 770</a></span> [[nodiscard]] <span class="keyword">auto</span> *<a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a544a600146d8e1a23d7233ef0447198f">storage</a>() const noexcept {</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"> 771</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage&lt;index_of&lt;Type&gt;</a>&gt;();</div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno"> 772</span> }</div>
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno"> 773</span> </div>
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"> 779</span> <span class="keyword">template</span>&lt;std::<span class="keywordtype">size_t</span> Index&gt;</div>
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a544a600146d8e1a23d7233ef0447198f"> 780</a></span> [[nodiscard]] <span class="keyword">auto</span> *<a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a544a600146d8e1a23d7233ef0447198f">storage</a>() const noexcept {</div>
<div class="line"><a id="l00781" name="l00781"></a><span class="lineno"> 781</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> offset = <span class="keyword">sizeof</span>...(Owned) + <span class="keyword">sizeof</span>...(Get);</div>
<div class="line"><a id="l00782" name="l00782"></a><span class="lineno"> 782</span> </div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"> 783</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(Index &lt; offset) {</div>
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno"> 784</span> <span class="keywordflow">return</span> std::get&lt;Index&gt;(pools());</div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"> 785</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno"> 786</span> <span class="keywordflow">return</span> std::get&lt;Index - offset&gt;(filter());</div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"> 787</span> }</div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"> 788</span> }</div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"> 789</span> </div>
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa30cf23333313f4b6c636d64b8798bfd"> 794</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a4e34173909e85aa6ce57d1e21359ca60">size_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa30cf23333313f4b6c636d64b8798bfd">size</a>() const noexcept {</div>
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno"> 795</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? descriptor-&gt;length() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a4e34173909e85aa6ce57d1e21359ca60">size_type</a>{};</div>
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"> 796</span> }</div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"> 797</span> </div>
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ae4ac68edd780bdec355ef654fd9bd1fd"> 802</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ae4ac68edd780bdec355ef654fd9bd1fd">empty</a>() const noexcept {</div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno"> 803</span> <span class="keywordflow">return</span> !*<span class="keyword">this</span> || !descriptor-&gt;length();</div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno"> 804</span> }</div>
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno"> 805</span> </div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a3fd2db6528ee4a5e14f96dd6b0f38769"> 813</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a3fd2db6528ee4a5e14f96dd6b0f38769">begin</a>() const noexcept {</div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? (<a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().end() - descriptor-&gt;length()) : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a>{};</div>
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno"> 815</span> }</div>
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno"> 816</span> </div>
<div class="line"><a id="l00822" name="l00822"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a99c4a0d307973232a293a83e85d578f5"> 822</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a99c4a0d307973232a293a83e85d578f5">end</a>() const noexcept {</div>
<div class="line"><a id="l00823" name="l00823"></a><span class="lineno"> 823</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().end() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a>{};</div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno"> 824</span> }</div>
<div class="line"><a id="l00825" name="l00825"></a><span class="lineno"> 825</span> </div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#adbfcd5c0d456b00a2265ad54bf7855aa"> 833</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#adbfcd5c0d456b00a2265ad54bf7855aa">rbegin</a>() const noexcept {</div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno"> 834</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().rbegin() : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e">reverse_iterator</a>{};</div>
<div class="line"><a id="l00835" name="l00835"></a><span class="lineno"> 835</span> }</div>
<div class="line"><a id="l00836" name="l00836"></a><span class="lineno"> 836</span> </div>
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa7d0eecd17174df1ae26f59939023c7e"> 843</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e">reverse_iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa7d0eecd17174df1ae26f59939023c7e">rend</a>() const noexcept {</div>
<div class="line"><a id="l00844" name="l00844"></a><span class="lineno"> 844</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> ? (<a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().rbegin() + descriptor-&gt;length()) : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e">reverse_iterator</a>{};</div>
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno"> 845</span> }</div>
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno"> 846</span> </div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a824f21536b1352d744fdfcee94d79c8c"> 852</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a824f21536b1352d744fdfcee94d79c8c">front</a>() const noexcept {</div>
<div class="line"><a id="l00853" name="l00853"></a><span class="lineno"> 853</span> <span class="keyword">const</span> <span class="keyword">auto</span> it = begin();</div>
<div class="line"><a id="l00854" name="l00854"></a><span class="lineno"> 854</span> <span class="keywordflow">return</span> it != end() ? *it : <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>;</div>
<div class="line"><a id="l00855" name="l00855"></a><span class="lineno"> 855</span> }</div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"> 856</span> </div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a3a32cd6d22bd3a4a5e1b99a13da02ad1"> 862</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a3a32cd6d22bd3a4a5e1b99a13da02ad1">back</a>() const noexcept {</div>
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno"> 863</span> <span class="keyword">const</span> <span class="keyword">auto</span> it = rbegin();</div>
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno"> 864</span> <span class="keywordflow">return</span> it != rend() ? *it : <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>;</div>
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno"> 865</span> }</div>
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno"> 866</span> </div>
<div class="line"><a id="l00873" name="l00873"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a656bae2e26463cc4600b1767b54bb369"> 873</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a656bae2e26463cc4600b1767b54bb369">find</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">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="l00874" name="l00874"></a><span class="lineno"> 874</span> <span class="keyword">const</span> <span class="keyword">auto</span> it = *<span class="keyword">this</span> ? <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().find(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a>{};</div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno"> 875</span> <span class="keywordflow">return</span> it &gt;= begin() ? it : <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">iterator</a>{};</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno"> 876</span> }</div>
<div class="line"><a id="l00877" name="l00877"></a><span class="lineno"> 877</span> </div>
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9c8624960249235714926777c1b4423e"> 883</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9c8624960249235714926777c1b4423e">operator[]</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a4e34173909e85aa6ce57d1e21359ca60">size_type</a> pos)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno"> 884</span> <span class="keywordflow">return</span> begin()[pos];</div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno"> 885</span> }</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno"> 886</span> </div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ac4a67ec8ec5c496f331e10a01acf7ef8"> 891</a></span> [[nodiscard]] <span class="keyword">explicit</span> <span class="keyword">operator</span> bool() const noexcept {</div>
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno"> 892</span> <span class="keywordflow">return</span> descriptor != <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00893" name="l00893"></a><span class="lineno"> 893</span> }</div>
<div class="line"><a id="l00894" name="l00894"></a><span class="lineno"> 894</span> </div>
<div class="line"><a id="l00900" name="l00900"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a7c8602aabac11b094162e687a7a07668"> 900</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a7c8602aabac11b094162e687a7a07668">contains</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">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="l00901" name="l00901"></a><span class="lineno"> 901</span> <span class="keywordflow">return</span> *<span class="keyword">this</span> &amp;&amp; <a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().contains(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &amp;&amp; (<a class="code hl_typedef" href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">handle</a>().index(<a class="code hl_namespace" href="namespaceentt.html">entt</a>) &lt; (descriptor-&gt;length()));</div>
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno"> 902</span> }</div>
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno"> 903</span> </div>
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno"> 916</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span>... Other&gt;</div>
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a0cc40a8d9473eace55d248be609671a7"> 917</a></span> [[nodiscard]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a0cc40a8d9473eace55d248be609671a7">get</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> {</div>
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno"> 918</span> <span class="keywordflow">return</span> get&lt;index_of&lt;Type&gt;, index_of&lt;Other&gt;...&gt;(<a class="code hl_namespace" href="namespaceentt.html">entt</a>);</div>
<div class="line"><a id="l00919" name="l00919"></a><span class="lineno"> 919</span> }</div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"> 920</span> </div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno"> 932</span> <span class="keyword">template</span>&lt;std::size_t... Index&gt;</div>
<div class="line"><a id="l00933" name="l00933"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ad3fe15acceec2e1d20c222919ec30441"> 933</a></span> [[nodiscard]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ad3fe15acceec2e1d20c222919ec30441">get</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entity_type</a> <a class="code hl_namespace" href="namespaceentt.html">entt</a>) <span class="keyword">const</span> {</div>
<div class="line"><a id="l00934" name="l00934"></a><span class="lineno"> 934</span> <span class="keyword">const</span> <span class="keyword">auto</span> cpools = pools();</div>
<div class="line"><a id="l00935" name="l00935"></a><span class="lineno"> 935</span> </div>
<div class="line"><a id="l00936" name="l00936"></a><span class="lineno"> 936</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 0) {</div>
<div class="line"><a id="l00937" name="l00937"></a><span class="lineno"> 937</span> <span class="keywordflow">return</span> std::apply([<a class="code hl_namespace" href="namespaceentt.html">entt</a>](<span class="keyword">auto</span> *...curr) { <span class="keywordflow">return</span> std::tuple_cat(curr-&gt;get_as_tuple(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)...); }, cpools);</div>
<div class="line"><a id="l00938" name="l00938"></a><span class="lineno"> 938</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 1) {</div>
<div class="line"><a id="l00939" name="l00939"></a><span class="lineno"> 939</span> <span class="keywordflow">return</span> (std::get&lt;Index&gt;(cpools)-&gt;get(<a class="code hl_namespace" href="namespaceentt.html">entt</a>), ...);</div>
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno"> 940</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno"> 941</span> <span class="keywordflow">return</span> std::tuple_cat(std::get&lt;Index&gt;(cpools)-&gt;get_as_tuple(<a class="code hl_namespace" href="namespaceentt.html">entt</a>)...);</div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno"> 942</span> }</div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno"> 943</span> }</div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno"> 944</span> </div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno"> 967</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Func&gt;</div>
<div class="line"><a id="l00968" name="l00968"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a02d082ed4b5d573c6b79644383f5f838"> 968</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a02d082ed4b5d573c6b79644383f5f838">each</a>(Func func)<span class="keyword"> const </span>{</div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno"> 969</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> args: each()) {</div>
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno"> 970</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<a class="code hl_variable" href="namespaceentt.html#a4f238620469de3ef2bafdb28fe4657ef">is_applicable_v</a>&lt;Func, <span class="keyword">decltype</span>(std::tuple_cat(std::tuple&lt;entity_type&gt;{}, std::declval&lt;basic_group&gt;().get({})))&gt;) {</div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno"> 971</span> std::apply(func, args);</div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"> 972</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno"> 973</span> std::apply([&amp;func](<span class="keyword">auto</span>, <span class="keyword">auto</span> &amp;&amp;...less) { func(std::forward&lt;<span class="keyword">decltype</span>(less)&gt;(less)...); }, args);</div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno"> 974</span> }</div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno"> 975</span> }</div>
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno"> 976</span> }</div>
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno"> 977</span> </div>
<div class="line"><a id="l00991" name="l00991"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa30df55e12ed00f3e90ec23bd25595e2"> 991</a></span> [[nodiscard]] <a class="code hl_struct" href="structentt_1_1iterable__adaptor.html">iterable</a> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa30df55e12ed00f3e90ec23bd25595e2">each</a>() const noexcept {</div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno"> 992</span> <span class="keyword">const</span> <span class="keyword">auto</span> cpools = pools();</div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno"> 993</span> <span class="keywordflow">return</span> {{begin(), cpools}, {end(), cpools}};</div>
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno"> 994</span> }</div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"> 995</span> </div>
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"> 1030</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type, <span class="keyword">typename</span>... Other, <span class="keyword">typename</span> Compare, <span class="keyword">typename</span> Sort = <a class="code hl_struct" href="structentt_1_1std__sort.html">std_sort</a>, <span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ab1b8ab19edaaf721ba3f5db9b6dcab55"> 1031</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ab1b8ab19edaaf721ba3f5db9b6dcab55">sort</a>(Compare compare, Sort algo = Sort{}, Args &amp;&amp;...args) <span class="keyword">const</span> {</div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"> 1032</span> sort&lt;index_of&lt;Type&gt;, index_of&lt;Other&gt;...&gt;(std::move(compare), std::move(algo), std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span> }</div>
<div class="line"><a id="l01034" name="l01034"></a><span class="lineno"> 1034</span> </div>
<div class="line"><a id="l01048" name="l01048"></a><span class="lineno"> 1048</span> <span class="keyword">template</span>&lt;std::size_t... Index, <span class="keyword">typename</span> Compare, <span class="keyword">typename</span> Sort = std_sort, <span class="keyword">typename</span>... Args&gt;</div>
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"><a class="line" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#afb19e07ca3440d9e7850aa888119cb63"> 1049</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#afb19e07ca3440d9e7850aa888119cb63">sort</a>(Compare compare, Sort algo = Sort{}, Args &amp;&amp;...args) <span class="keyword">const</span> {</div>
<div class="line"><a id="l01050" name="l01050"></a><span class="lineno"> 1050</span> <span class="keyword">const</span> <span class="keyword">auto</span> cpools = pools();</div>
<div class="line"><a id="l01051" name="l01051"></a><span class="lineno"> 1051</span> </div>
<div class="line"><a id="l01052" name="l01052"></a><span class="lineno"> 1052</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 0) {</div>
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"> 1053</span> <span class="keyword">static_assert</span>(std::is_invocable_v&lt;Compare, const entity_type, const entity_type&gt;, <span class="stringliteral">&quot;Invalid comparison function&quot;</span>);</div>
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"> 1054</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage&lt;0&gt;</a>()-&gt;<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a43c1c0aa0fa525e12cee0791cd945915">sort_n</a>(descriptor-&gt;length(), std::move(compare), std::move(algo), std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l01055" name="l01055"></a><span class="lineno"> 1055</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l01056" name="l01056"></a><span class="lineno"> 1056</span> <span class="keyword">auto</span> comp = [&amp;compare, &amp;cpools](<span class="keyword">const</span> entity_type lhs, <span class="keyword">const</span> entity_type rhs) {</div>
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Index) == 1) {</div>
<div class="line"><a id="l01058" name="l01058"></a><span class="lineno"> 1058</span> <span class="keywordflow">return</span> compare((std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(lhs), ...), (std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(rhs), ...));</div>
<div class="line"><a id="l01059" name="l01059"></a><span class="lineno"> 1059</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l01060" name="l01060"></a><span class="lineno"> 1060</span> <span class="keywordflow">return</span> compare(std::forward_as_tuple(std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(lhs)...), std::forward_as_tuple(std::get&lt;Index&gt;(cpools)-&gt;<a class="code hl_variable" href="namespaceentt.html#a8c24ecc5ab0055f9f2a4725c95afb29e">get</a>(rhs)...));</div>
<div class="line"><a id="l01061" name="l01061"></a><span class="lineno"> 1061</span> }</div>
<div class="line"><a id="l01062" name="l01062"></a><span class="lineno"> 1062</span> };</div>
<div class="line"><a id="l01063" name="l01063"></a><span class="lineno"> 1063</span> </div>
<div class="line"><a id="l01064" name="l01064"></a><span class="lineno"> 1064</span> storage&lt;0&gt;()-&gt;sort_n(descriptor-&gt;length(), std::move(comp), std::move(algo), std::forward&lt;Args&gt;(args)...);</div>
<div class="line"><a id="l01065" name="l01065"></a><span class="lineno"> 1065</span> }</div>
<div class="line"><a id="l01066" name="l01066"></a><span class="lineno"> 1066</span> </div>
<div class="line"><a id="l01067" name="l01067"></a><span class="lineno"> 1067</span> <span class="keyword">auto</span> cb = [<span class="keyword">this</span>](<span class="keyword">auto</span> *head, <span class="keyword">auto</span> *...other) {</div>
<div class="line"><a id="l01068" name="l01068"></a><span class="lineno"> 1068</span> <span class="keywordflow">for</span>(<span class="keyword">auto</span> next = descriptor-&gt;length(); next; --next) {</div>
<div class="line"><a id="l01069" name="l01069"></a><span class="lineno"> 1069</span> <span class="keyword">const</span> <span class="keyword">auto</span> pos = next - 1;</div>
<div class="line"><a id="l01070" name="l01070"></a><span class="lineno"> 1070</span> [[maybe_unused]] <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code hl_namespace" href="namespaceentt.html">entt</a> = head-&gt;data()[pos];</div>
<div class="line"><a id="l01071" name="l01071"></a><span class="lineno"> 1071</span> (other-&gt;swap_elements(other-&gt;data()[pos], <a class="code hl_namespace" href="namespaceentt.html">entt</a>), ...);</div>
<div class="line"><a id="l01072" name="l01072"></a><span class="lineno"> 1072</span> }</div>
<div class="line"><a id="l01073" name="l01073"></a><span class="lineno"> 1073</span> };</div>
<div class="line"><a id="l01074" name="l01074"></a><span class="lineno"> 1074</span> </div>
<div class="line"><a id="l01075" name="l01075"></a><span class="lineno"> 1075</span> std::apply(cb, cpools);</div>
<div class="line"><a id="l01076" name="l01076"></a><span class="lineno"> 1076</span> }</div>
<div class="line"><a id="l01077" name="l01077"></a><span class="lineno"> 1077</span> </div>
<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"> 1078</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l01079" name="l01079"></a><span class="lineno"> 1079</span> handler *descriptor;</div>
<div class="line"><a id="l01080" name="l01080"></a><span class="lineno"> 1080</span>};</div>
<div class="line"><a id="l01081" name="l01081"></a><span class="lineno"> 1081</span> </div>
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"> 1082</span>} <span class="comment">// namespace entt</span></div>
<div class="line"><a id="l01083" name="l01083"></a><span class="lineno"> 1083</span> </div>
<div class="line"><a id="l01084" name="l01084"></a><span class="lineno"> 1084</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a02195bbadcbe2f41854c7dc0a0a178e1"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a02195bbadcbe2f41854c7dc0a0a178e1">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::handle</a></div><div class="ttdeci">const common_type &amp; handle() const noexcept</div><div class="ttdoc">Returns the leading storage of a group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00760">group.hpp:760</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a02d082ed4b5d573c6b79644383f5f838"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a02d082ed4b5d573c6b79644383f5f838">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::each</a></div><div class="ttdeci">void each(Func func) const</div><div class="ttdoc">Iterates entities and components and applies the given function object to them.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00968">group.hpp:968</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a0cc40a8d9473eace55d248be609671a7"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a0cc40a8d9473eace55d248be609671a7">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::get</a></div><div class="ttdeci">decltype(auto) get(const entity_type entt) const</div><div class="ttdoc">Returns the components assigned to the given entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00917">group.hpp:917</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a181467a35167330707fbe2ad94a60e57"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a181467a35167330707fbe2ad94a60e57">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::basic_group</a></div><div class="ttdeci">basic_group() noexcept</div><div class="ttdoc">Default constructor to use to create empty, invalid groups.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00746">group.hpp:746</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a1c11b96226a9b060e4d9d0eef70ffb56"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a1c11b96226a9b060e4d9d0eef70ffb56">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::handler</a></div><div class="ttdeci">internal::group_handler&lt; owned_t&lt; std::remove_const_t&lt; Owned &gt;... &gt;, get_t&lt; std::remove_const_t&lt; Get &gt;... &gt;, exclude_t&lt; std::remove_const_t&lt; Exclude &gt;... &gt; &gt; handler</div><div class="ttdoc">Group handler type.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00743">group.hpp:743</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a3a32cd6d22bd3a4a5e1b99a13da02ad1"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a3a32cd6d22bd3a4a5e1b99a13da02ad1">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::back</a></div><div class="ttdeci">entity_type back() const noexcept</div><div class="ttdoc">Returns the last entity of the group, if any.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00862">group.hpp:862</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a3fd2db6528ee4a5e14f96dd6b0f38769"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a3fd2db6528ee4a5e14f96dd6b0f38769">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::begin</a></div><div class="ttdeci">iterator begin() const noexcept</div><div class="ttdoc">Returns an iterator to the first entity of the group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00813">group.hpp:813</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a4e34173909e85aa6ce57d1e21359ca60"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a4e34173909e85aa6ce57d1e21359ca60">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &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="group_8hpp_source.html#l00733">group.hpp:733</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a51f55ba9c65468ef4f615fae26b881d7"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a51f55ba9c65468ef4f615fae26b881d7">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::common_type</a></div><div class="ttdeci">base_type common_type</div><div class="ttdoc">Common type among all storage types.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00735">group.hpp:735</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a544a600146d8e1a23d7233ef0447198f"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a544a600146d8e1a23d7233ef0447198f">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::storage</a></div><div class="ttdeci">auto * storage() const noexcept</div><div class="ttdoc">Returns the storage for a given component type, if any.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00770">group.hpp:770</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a611925e5ae41497d06519a40aaabdc64"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a611925e5ae41497d06519a40aaabdc64">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::iterator</a></div><div class="ttdeci">typename common_type::iterator iterator</div><div class="ttdoc">Random access iterator type.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00737">group.hpp:737</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a656bae2e26463cc4600b1767b54bb369"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a656bae2e26463cc4600b1767b54bb369">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::find</a></div><div class="ttdeci">iterator find(const entity_type entt) const noexcept</div><div class="ttdoc">Finds an entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00873">group.hpp:873</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a7c8602aabac11b094162e687a7a07668"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a7c8602aabac11b094162e687a7a07668">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::contains</a></div><div class="ttdeci">bool contains(const entity_type entt) const noexcept</div><div class="ttdoc">Checks if a group contains an entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00900">group.hpp:900</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a824f21536b1352d744fdfcee94d79c8c"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a824f21536b1352d744fdfcee94d79c8c">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::front</a></div><div class="ttdeci">entity_type front() const noexcept</div><div class="ttdoc">Returns the first entity of the group, if any.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00852">group.hpp:852</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a891037fd8c4d3d4eb6dca94ebbd0ab74"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a891037fd8c4d3d4eb6dca94ebbd0ab74">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::basic_group</a></div><div class="ttdeci">basic_group(handler &amp;ref) noexcept</div><div class="ttdoc">Constructs a group from a set of storage classes.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00753">group.hpp:753</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a99c4a0d307973232a293a83e85d578f5"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a99c4a0d307973232a293a83e85d578f5">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::end</a></div><div class="ttdeci">iterator end() const noexcept</div><div class="ttdoc">Returns an iterator that is past the last entity of the group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00822">group.hpp:822</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a9bc92cfc49d8a5f02420f9d5ed3f086e"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9bc92cfc49d8a5f02420f9d5ed3f086e">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::reverse_iterator</a></div><div class="ttdeci">typename common_type::reverse_iterator reverse_iterator</div><div class="ttdoc">Reversed iterator type.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00739">group.hpp:739</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_a9c8624960249235714926777c1b4423e"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#a9c8624960249235714926777c1b4423e">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::operator[]</a></div><div class="ttdeci">entity_type operator[](const size_type pos) const</div><div class="ttdoc">Returns the identifier that occupies the given position.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00883">group.hpp:883</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_aa30cf23333313f4b6c636d64b8798bfd"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa30cf23333313f4b6c636d64b8798bfd">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of entities that that are part of the group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00794">group.hpp:794</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_aa30df55e12ed00f3e90ec23bd25595e2"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa30df55e12ed00f3e90ec23bd25595e2">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::each</a></div><div class="ttdeci">iterable each() const noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00991">group.hpp:991</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_aa7d0eecd17174df1ae26f59939023c7e"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#aa7d0eecd17174df1ae26f59939023c7e">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::rend</a></div><div class="ttdeci">reverse_iterator rend() const noexcept</div><div class="ttdoc">Returns an iterator that is past the last entity of the reversed group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00843">group.hpp:843</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_ab1b8ab19edaaf721ba3f5db9b6dcab55"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ab1b8ab19edaaf721ba3f5db9b6dcab55">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::sort</a></div><div class="ttdeci">void sort(Compare compare, Sort algo=Sort{}, Args &amp;&amp;...args) const</div><div class="ttdoc">Sort a group according to the given comparison function.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l01031">group.hpp:1031</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_abb8a3829dcd9e0699bb39e52ba42c9c1"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#abb8a3829dcd9e0699bb39e52ba42c9c1">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::entity_type</a></div><div class="ttdeci">underlying_type entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00731">group.hpp:731</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_ad3fe15acceec2e1d20c222919ec30441"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ad3fe15acceec2e1d20c222919ec30441">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::get</a></div><div class="ttdeci">decltype(auto) get(const entity_type entt) const</div><div class="ttdoc">Returns the components assigned to the given entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00933">group.hpp:933</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_adbfcd5c0d456b00a2265ad54bf7855aa"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#adbfcd5c0d456b00a2265ad54bf7855aa">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::rbegin</a></div><div class="ttdeci">reverse_iterator rbegin() const noexcept</div><div class="ttdoc">Returns an iterator to the first entity of the reversed group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00833">group.hpp:833</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_ae4ac68edd780bdec355ef654fd9bd1fd"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#ae4ac68edd780bdec355ef654fd9bd1fd">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::empty</a></div><div class="ttdeci">bool empty() const noexcept</div><div class="ttdoc">Checks whether a group is empty.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00802">group.hpp:802</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72_html_afb19e07ca3440d9e7850aa888119cb63"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_01Owned_8_8_8_01_4_00_01get__t_3_01Get_8_8_8_01_4_00_011bc3c06bb47de7bb72ca45b6e209ac72.html#afb19e07ca3440d9e7850aa888119cb63">entt::basic_group&lt; owned_t&lt; Owned... &gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::sort</a></div><div class="ttdeci">void sort(Compare compare, Sort algo=Sort{}, Args &amp;&amp;...args) const</div><div class="ttdoc">Sort a group according to the given comparison function.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l01049">group.hpp:1049</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a02df8d2cc8e492f0faa1b8218591f258"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a02df8d2cc8e492f0faa1b8218591f258">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::begin</a></div><div class="ttdeci">iterator begin() const noexcept</div><div class="ttdoc">Returns an iterator to the first entity of the group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00409">group.hpp:409</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a18edc7d92e7c5a336405c686fd102d9b"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a18edc7d92e7c5a336405c686fd102d9b">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::storage</a></div><div class="ttdeci">auto * storage() const noexcept</div><div class="ttdoc">Returns the storage for a given component type, if any.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00350">group.hpp:350</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a1f1ebbcf7774e04d4ecc91b6b5a14469"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a1f1ebbcf7774e04d4ecc91b6b5a14469">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::reverse_iterator</a></div><div class="ttdeci">typename common_type::reverse_iterator reverse_iterator</div><div class="ttdoc">Reversed iterator type.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00319">group.hpp:319</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a2048d3e38b1ef64777a701d4a9e1a92d"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a2048d3e38b1ef64777a701d4a9e1a92d">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::basic_group</a></div><div class="ttdeci">basic_group(handler &amp;ref) noexcept</div><div class="ttdoc">Constructs a group from a set of storage classes.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00333">group.hpp:333</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a27f0cdbb6b32004c9f19c7a0451d7a96"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a27f0cdbb6b32004c9f19c7a0451d7a96">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::handler</a></div><div class="ttdeci">internal::group_handler&lt; owned_t&lt;&gt;, get_t&lt; std::remove_const_t&lt; Get &gt;... &gt;, exclude_t&lt; std::remove_const_t&lt; Exclude &gt;... &gt; &gt; handler</div><div class="ttdoc">Group handler type.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00323">group.hpp:323</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a38ee47145fc3fcb63ab0a80250f43a55"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a38ee47145fc3fcb63ab0a80250f43a55">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::operator[]</a></div><div class="ttdeci">entity_type operator[](const size_type pos) const</div><div class="ttdoc">Returns the identifier that occupies the given position.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00478">group.hpp:478</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a38f5f9228661385295bc7a576fb187fe"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a38f5f9228661385295bc7a576fb187fe">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::contains</a></div><div class="ttdeci">bool contains(const entity_type entt) const noexcept</div><div class="ttdoc">Checks if a group contains an entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00495">group.hpp:495</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a3be8735e76b3d7389c783a60ad80d624"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a3be8735e76b3d7389c783a60ad80d624">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::sort</a></div><div class="ttdeci">void sort(Compare compare, Sort algo=Sort{}, Args &amp;&amp;...args)</div><div class="ttdoc">Sort a group according to the given comparison function.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00643">group.hpp:643</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a3c52657f3305d9076c8859df5e2792f2"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a3c52657f3305d9076c8859df5e2792f2">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::rbegin</a></div><div class="ttdeci">reverse_iterator rbegin() const noexcept</div><div class="ttdoc">Returns an iterator to the first entity of the reversed group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00429">group.hpp:429</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a4d5bfe2db9bebc127208c2d19e4731f6"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a4d5bfe2db9bebc127208c2d19e4731f6">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::handle</a></div><div class="ttdeci">const common_type &amp; handle() const noexcept</div><div class="ttdoc">Returns the leading storage of a group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00340">group.hpp:340</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a4f242692abecbf361c09117c14c73fe4"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a4f242692abecbf361c09117c14c73fe4">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::sort</a></div><div class="ttdeci">void sort(Compare compare, Sort algo=Sort{}, Args &amp;&amp;...args)</div><div class="ttdoc">Sort a group according to the given comparison function.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00625">group.hpp:625</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a507bcb4508ac957e96be3b4691633aa9"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a507bcb4508ac957e96be3b4691633aa9">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::get</a></div><div class="ttdeci">decltype(auto) get(const entity_type entt) const</div><div class="ttdoc">Returns the components assigned to the given entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00512">group.hpp:512</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a64e489bb00e091fd7203d91b5d1aaf5a"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a64e489bb00e091fd7203d91b5d1aaf5a">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::empty</a></div><div class="ttdeci">bool empty() const noexcept</div><div class="ttdoc">Checks whether a group is empty.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00398">group.hpp:398</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a64e771afc3afcabba0a95a800d91fa97"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a64e771afc3afcabba0a95a800d91fa97">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::sort_as</a></div><div class="ttdeci">void sort_as(const common_type &amp;other) const</div><div class="ttdoc">Sort the shared pool of entities according to a given storage.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00670">group.hpp:670</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a7a9e949db960db1c091f7042b6829026"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a7a9e949db960db1c091f7042b6829026">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::each</a></div><div class="ttdeci">void each(Func func) const</div><div class="ttdoc">Iterates entities and components and applies the given function object to them.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00563">group.hpp:563</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a8a9d3d57c43e454d991d1c7c85752cd9"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a8a9d3d57c43e454d991d1c7c85752cd9">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::get</a></div><div class="ttdeci">decltype(auto) get(const entity_type entt) const</div><div class="ttdoc">Returns the components assigned to the given entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00528">group.hpp:528</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_a9097b3db0054d341d6dbb31a8531b6f4"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#a9097b3db0054d341d6dbb31a8531b6f4">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &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="group_8hpp_source.html#l00313">group.hpp:313</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_aaec4bf1c339ee706c1e382f81e995116"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#aaec4bf1c339ee706c1e382f81e995116">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::capacity</a></div><div class="ttdeci">size_type capacity() const noexcept</div><div class="ttdoc">Returns the number of elements that a group has currently allocated space for.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00383">group.hpp:383</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ab0dee7a4e6589ce4a1bdec06a38f3e59"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ab0dee7a4e6589ce4a1bdec06a38f3e59">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::shrink_to_fit</a></div><div class="ttdeci">void shrink_to_fit()</div><div class="ttdoc">Requests the removal of unused capacity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00388">group.hpp:388</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ab5ba983fbaee1dce61af5edeb3872ecd"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ab5ba983fbaee1dce61af5edeb3872ecd">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::front</a></div><div class="ttdeci">entity_type front() const noexcept</div><div class="ttdoc">Returns the first entity of the group, if any.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00448">group.hpp:448</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_abfbf1ce09751a74c56743688c7769f99"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#abfbf1ce09751a74c56743688c7769f99">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::rend</a></div><div class="ttdeci">reverse_iterator rend() const noexcept</div><div class="ttdoc">Returns an iterator that is past the last entity of the reversed group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00439">group.hpp:439</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ac52f9ee1f7aab92da230399fba664480"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac52f9ee1f7aab92da230399fba664480">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::entity_type</a></div><div class="ttdeci">underlying_type entity_type</div><div class="ttdoc">Underlying entity identifier.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00311">group.hpp:311</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ac63cc46269cc44038dee7f51a3663342"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac63cc46269cc44038dee7f51a3663342">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::find</a></div><div class="ttdeci">iterator find(const entity_type entt) const noexcept</div><div class="ttdoc">Finds an entity.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00469">group.hpp:469</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ac94857c70d27826612b584af4c70f200"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ac94857c70d27826612b584af4c70f200">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::end</a></div><div class="ttdeci">iterator end() const noexcept</div><div class="ttdoc">Returns an iterator that is past the last entity of the group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00418">group.hpp:418</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_acd96ed39873cbcb38100928945e5781f"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#acd96ed39873cbcb38100928945e5781f">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::iterator</a></div><div class="ttdeci">typename common_type::iterator iterator</div><div class="ttdoc">Random access iterator type.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00317">group.hpp:317</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ad23be7c83702338af05db3fd851a4a1b"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ad23be7c83702338af05db3fd851a4a1b">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::back</a></div><div class="ttdeci">entity_type back() const noexcept</div><div class="ttdoc">Returns the last entity of the group, if any.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00458">group.hpp:458</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_adc11363d541605654bf66ed62f5359eb"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#adc11363d541605654bf66ed62f5359eb">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::each</a></div><div class="ttdeci">iterable each() const noexcept</div><div class="ttdoc">Returns an iterable object to use to visit a group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00586">group.hpp:586</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_ae404710a7c3d6d5ca6b2066d0bffea07"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#ae404710a7c3d6d5ca6b2066d0bffea07">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::common_type</a></div><div class="ttdeci">base_type common_type</div><div class="ttdoc">Common type among all storage types.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00315">group.hpp:315</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_af0007b6e275808ca8037551a4133a0b8"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#af0007b6e275808ca8037551a4133a0b8">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::basic_group</a></div><div class="ttdeci">basic_group() noexcept</div><div class="ttdoc">Default constructor to use to create empty, invalid groups.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00326">group.hpp:326</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4_html_afd8a5c5072abffebe052dd8f1eeb7411"><div class="ttname"><a href="classentt_1_1basic__group_3_01owned__t_3_4_00_01get__t_3_01Get_8_8_8_01_4_00_01exclude__t_3_01Exclude_8_8_8_01_4_01_4.html#afd8a5c5072abffebe052dd8f1eeb7411">entt::basic_group&lt; owned_t&lt;&gt;, get_t&lt; Get... &gt;, exclude_t&lt; Exclude... &gt; &gt;::size</a></div><div class="ttdeci">size_type size() const noexcept</div><div class="ttdoc">Returns the number of entities that are part of the group.</div><div class="ttdef"><b>Definition:</b> <a href="group_8hpp_source.html#l00374">group.hpp:374</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__group_html"><div class="ttname"><a href="classentt_1_1basic__group.html">entt::basic_group</a></div><div class="ttdoc">Group.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00080">fwd.hpp:80</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a43c1c0aa0fa525e12cee0791cd945915"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a43c1c0aa0fa525e12cee0791cd945915">entt::basic_sparse_set::sort_n</a></div><div class="ttdeci">void sort_n(const size_type length, Compare compare, Sort algo=Sort{}, Args &amp;&amp;...args)</div><div class="ttdoc">Sort the first count elements according to the given comparison function.</div><div class="ttdef"><b>Definition:</b> <a href="sparse__set_8hpp_source.html#l00899">sparse_set.hpp:899</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">Basic storage implementation.</div><div class="ttdef"><b>Definition:</b> <a href="storage_8hpp_source.html#l00236">storage.hpp:236</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#l00021">dense_map.hpp:21</a></div></div>
<div class="ttc" id="anamespaceentt_html_a2482f76c688f8d89f2b3c4cd03bf4be3"><div class="ttname"><a href="namespaceentt.html#a2482f76c688f8d89f2b3c4cd03bf4be3">entt::handle</a></div><div class="ttdeci">basic_handle&lt; registry &gt; handle</div><div class="ttdoc">Alias declaration for the most common use case.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00204">fwd.hpp:204</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#l00366">entity.hpp:366</a></div></div>
<div class="ttc" id="anamespaceentt_html_a4f238620469de3ef2bafdb28fe4657ef"><div class="ttname"><a href="namespaceentt.html#a4f238620469de3ef2bafdb28fe4657ef">entt::is_applicable_v</a></div><div class="ttdeci">constexpr bool is_applicable_v</div><div class="ttdoc">Helper variable template.</div><div class="ttdef"><b>Definition:</b> <a href="core_2type__traits_8hpp_source.html#l00625">type_traits.hpp:625</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 components.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00132">fwd.hpp:132</a></div></div>
<div class="ttc" id="anamespaceentt_html_ac91ddbe2446a912714a5fe7251e25768"><div class="ttname"><a href="namespaceentt.html#ac91ddbe2446a912714a5fe7251e25768">entt::owned</a></div><div class="ttdeci">constexpr owned_t&lt; Type... &gt; owned</div><div class="ttdoc">Variable template for lists of owned components.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00149">fwd.hpp:149</a></div></div>
<div class="ttc" id="anamespaceentt_html_ad9accc71a383509ada028f7fa2b767bf"><div class="ttname"><a href="namespaceentt.html#ad9accc71a383509ada028f7fa2b767bf">entt::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition:</b> <a href="hashed__string_8hpp_source.html#l00249">hashed_string.hpp:249</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#l00237">hashed_string.hpp:237</a></div></div>
<div class="ttc" id="astructentt_1_1exclude__t_html"><div class="ttname"><a href="structentt_1_1exclude__t.html">entt::exclude_t</a></div><div class="ttdoc">Alias for exclusion lists.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00105">fwd.hpp:105</a></div></div>
<div class="ttc" id="astructentt_1_1get__t_html"><div class="ttname"><a href="structentt_1_1get__t.html">entt::get_t</a></div><div class="ttdoc">Alias for lists of observed components.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00122">fwd.hpp:122</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 class="ttc" id="astructentt_1_1owned__t_html"><div class="ttname"><a href="structentt_1_1owned__t.html">entt::owned_t</a></div><div class="ttdoc">Alias for lists of owned components.</div><div class="ttdef"><b>Definition:</b> <a href="entity_2fwd_8hpp_source.html#l00139">fwd.hpp:139</a></div></div>
<div class="ttc" id="astructentt_1_1std__sort_html"><div class="ttname"><a href="structentt_1_1std__sort.html">entt::std_sort</a></div><div class="ttdoc">Function object to wrap std::sort in a class type.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8hpp_source.html#l00021">algorithm.hpp:21</a></div></div>
<div class="ttc" id="astructentt_1_1type__hash_html_a925c3666663e463a28897f04a7e2c314"><div class="ttname"><a href="structentt_1_1type__hash.html#a925c3666663e463a28897f04a7e2c314">entt::type_hash::value</a></div><div class="ttdeci">static constexpr id_type value() noexcept</div><div class="ttdoc">Returns the numeric representation of a given type.</div><div class="ttdef"><b>Definition:</b> <a href="type__info_8hpp_source.html#l00109">type_info.hpp:109</a></div></div>
<div class="ttc" id="astructentt_1_1type__list_html"><div class="ttname"><a href="structentt_1_1type__list.html">entt::type_list</a></div><div class="ttdoc">A class to use to push around lists of types, nothing more.</div><div class="ttdef"><b>Definition:</b> <a href="core_2type__traits_8hpp_source.html#l00110">type_traits.hpp:110</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.9.6
</small></address>
</body>
</html>