Files
entt/entity_8hpp_source.html
2025-03-19 15:49:42 +01:00

406 lines
68 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.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EnTT: src/entt/entity/entity.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">EnTT<span id="projectnumber">&#160;3.15.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<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">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @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',false);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_66e9674e8206a335795995fa32a03c91.html">entt</a></li><li class="navelem"><a class="el" href="dir_e3a7bb56c55e5c2286e2fe96e197d4f5.html">entity</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">entity.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_ENTITY_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ENTT_ENTITY_ENTITY_HPP</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;cstddef&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;type_traits&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/bit.hpp&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;fwd.hpp&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">namespace </span>internal {</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span>, <span class="keyword">typename</span> = <span class="keywordtype">void</span>&gt;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">struct </span>entt_traits;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keyword">struct </span>entt_traits&lt;Type, std::enable_if_t&lt;std::is_enum_v&lt;Type&gt;&gt;&gt;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> : entt_traits&lt;std::underlying_type_t&lt;Type&gt;&gt; {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">using </span>value_type = Type;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>};</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">struct </span>entt_traits&lt;Type, std::enable_if_t&lt;std::is_class_v&lt;Type&gt;&gt;&gt;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> : entt_traits&lt;typename Type::entity_type&gt; {</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">using </span>value_type = Type;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span>};</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">template</span>&lt;&gt;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">struct </span>entt_traits&lt;std::uint32_t&gt; {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">using </span>value_type = std::uint32_t;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">using </span>entity_type = std::uint32_t;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">using </span>version_type = std::uint16_t;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> entity_type entity_mask = 0xFFFFF;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> entity_type version_mask = 0xFFF;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>};</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keyword">template</span>&lt;&gt;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="keyword">struct </span>entt_traits&lt;std::uint64_t&gt; {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">using </span>value_type = std::uint64_t;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">using </span>entity_type = std::uint64_t;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">using </span>version_type = std::uint32_t;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> entity_type entity_mask = 0xFFFFFFFF;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> entity_type version_mask = 0xFFFFFFFF;</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> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span>} <span class="comment">// namespace internal</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Traits&gt;</div>
<div class="foldopen" id="foldopen00061" data-start="{" data-end="};">
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html"> 61</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__entt__traits.html">basic_entt_traits</a> {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> length = <a class="code hl_function" href="namespaceentt.html#afab136c473d8c862b183cec9d4a13915">popcount</a>(Traits::entity_mask);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">static_assert</span>(Traits::entity_mask &amp;&amp; ((Traits::entity_mask &amp; (Traits::entity_mask + 1)) == 0), <span class="stringliteral">&quot;Invalid entity mask&quot;</span>);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">static_assert</span>((Traits::version_mask &amp; (Traits::version_mask + 1)) == 0, <span class="stringliteral">&quot;Invalid version mask&quot;</span>);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e"> 69</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> = <span class="keyword">typename</span> Traits::value_type;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793"> 71</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> = <span class="keyword">typename</span> Traits::entity_type;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10"> 73</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">version_type</a> = <span class="keyword">typename</span> Traits::version_type;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec"> 76</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entity_mask</a> = Traits::entity_mask;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3"> 78</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3">version_mask</a> = Traits::version_mask;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span></div>
<div class="foldopen" id="foldopen00085" data-start="{" data-end="}">
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0"> 85</a></span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0">to_integral</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a><span class="keyword">&gt;</span>(value);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span></div>
<div class="foldopen" id="foldopen00094" data-start="{" data-end="}">
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a8c02bc8db33817ec509b7d32773fa463"> 94</a></span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a8c02bc8db33817ec509b7d32773fa463">to_entity</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0">to_integral</a>(value) &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entity_mask</a>);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> }</div>
</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span></div>
<div class="foldopen" id="foldopen00103" data-start="{" data-end="}">
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#af1e3c418f09660a761fab21078df6700"> 103</a></span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">version_type</a> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#af1e3c418f09660a761fab21078df6700">to_version</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(Traits::version_mask == 0u) {</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">version_type</a>{};</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordflow">return</span> (<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">version_type</a><span class="keyword">&gt;</span>(<a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0">to_integral</a>(value) &gt;&gt; length) &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3">version_mask</a>);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> }</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> }</div>
</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span></div>
<div class="foldopen" id="foldopen00116" data-start="{" data-end="}">
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a42a94cfb5923165804979505731ad7c6"> 116</a></span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a42a94cfb5923165804979505731ad7c6">next</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">const</span> <span class="keyword">auto</span> vers = <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#af1e3c418f09660a761fab21078df6700">to_version</a>(value) + 1;</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a3d3c3e8fd538fb4394ea505dd0415ec5">construct</a>(<a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0">to_integral</a>(value), <span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">version_type</a><span class="keyword">&gt;</span>(vers + (vers == <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3">version_mask</a>)));</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> }</div>
</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span></div>
<div class="foldopen" id="foldopen00131" data-start="{" data-end="}">
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#a3d3c3e8fd538fb4394ea505dd0415ec5"> 131</a></span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a3d3c3e8fd538fb4394ea505dd0415ec5">construct</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> <a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">version_type</a> version) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(Traits::version_mask == 0u) {</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a>{<a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a> &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entity_mask</a>};</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a>{(<a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a> &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entity_mask</a>) | (<span class="keyword">static_cast&lt;</span><a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a><span class="keyword">&gt;</span>(version &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3">version_mask</a>) &lt;&lt; length)};</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>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span></div>
<div class="foldopen" id="foldopen00149" data-start="{" data-end="}">
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="classentt_1_1basic__entt__traits.html#ad00358aea03a19c59efae2f8c005ae9b"> 149</a></span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#ad00358aea03a19c59efae2f8c005ae9b">combine</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> lhs, <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entity_type</a> rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(Traits::version_mask == 0u) {</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a>{lhs &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entity_mask</a>};</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">value_type</a>{(lhs &amp; <a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entity_mask</a>) | (rhs &amp; (<a class="code hl_variable" href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3">version_mask</a> &lt;&lt; length))};</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> }</div>
</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span>};</div>
</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Type&gt;</div>
<div class="foldopen" id="foldopen00163" data-start="{" data-end="};">
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="structentt_1_1entt__traits.html"> 163</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1entt__traits.html">entt_traits</a>: <a class="code hl_class" href="classentt_1_1basic__entt__traits.html">basic_entt_traits</a>&lt;internal::entt_traits&lt;Type&gt;&gt; {</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="structentt_1_1entt__traits.html#a8012c0ec9d8d57ef5622a5619f03c342"> 165</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="structentt_1_1entt__traits.html#a8012c0ec9d8d57ef5622a5619f03c342">base_type</a> = <a class="code hl_class" href="classentt_1_1basic__entt__traits.html">basic_entt_traits&lt;internal::entt_traits&lt;Type&gt;</a>&gt;;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="structentt_1_1entt__traits.html#a187c362626da03111928aff88f43bb83"> 167</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> std::size_t <a class="code hl_variable" href="structentt_1_1entt__traits.html#a187c362626da03111928aff88f43bb83">page_size</a> = ENTT_SPARSE_PAGE;</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span>};</div>
</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00177" data-start="{" data-end="}">
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="namespaceentt.html#ad2e252dbd8c8ebd486a3d84fbf8c2602"> 177</a></span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entt_traits&lt;Entity&gt;::entity_type</a> <a class="code hl_function" href="namespaceentt.html#ad2e252dbd8c8ebd486a3d84fbf8c2602">to_integral</a>(<span class="keyword">const</span> Entity value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0">entt_traits&lt;Entity&gt;::to_integral</a>(value);</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span>}</div>
</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00188" data-start="{" data-end="}">
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="namespaceentt.html#a1202b4027d32db124efffdf1f2f8c5a2"> 188</a></span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entt_traits&lt;Entity&gt;::entity_type</a> <a class="code hl_function" href="namespaceentt.html#a1202b4027d32db124efffdf1f2f8c5a2">to_entity</a>(<span class="keyword">const</span> Entity value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#a8c02bc8db33817ec509b7d32773fa463">entt_traits&lt;Entity&gt;::to_entity</a>(value);</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span>}</div>
</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00199" data-start="{" data-end="}">
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"><a class="line" href="namespaceentt.html#a4b7d8995ec3448ce5151309ef2281d33"> 199</a></span>[[nodiscard]] <span class="keyword">constexpr</span> <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">entt_traits&lt;Entity&gt;::version_type</a> <a class="code hl_function" href="namespaceentt.html#a4b7d8995ec3448ce5151309ef2281d33">to_version</a>(<span class="keyword">const</span> Entity value) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classentt_1_1basic__entt__traits.html#af1e3c418f09660a761fab21078df6700">entt_traits&lt;Entity&gt;::to_version</a>(value);</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span>}</div>
</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span></div>
<div class="foldopen" id="foldopen00204" data-start="{" data-end="};">
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="structentt_1_1null__t.html"> 204</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1null__t.html">null_t</a> {</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00211" data-start="{" data-end="}">
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="structentt_1_1null__t.html#a645f6d96cbb99f7b245058a05bf0e28b"> 211</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keyword">operator</span> Entity() const noexcept {</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <span class="keyword">using </span>traits_type = <a class="code hl_struct" href="structentt_1_1entt__traits.html">entt_traits&lt;Entity&gt;</a>;</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> value = traits_type::construct(traits_type::entity_mask, traits_type::version_mask);</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> <span class="keywordflow">return</span> value;</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> }</div>
</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span></div>
<div class="foldopen" id="foldopen00222" data-start="{" data-end="}">
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="structentt_1_1null__t.html#aed9c63b072bec4c7c6c15dc110620a93"> 222</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1null__t.html#aed9c63b072bec4c7c6c15dc110620a93">operator==</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1null__t.html">null_t</a> other) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> }</div>
</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span></div>
<div class="foldopen" id="foldopen00231" data-start="{" data-end="}">
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="structentt_1_1null__t.html#a6736a78ac5ffa158b229fdf4fefcdc34"> 231</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1null__t.html#a6736a78ac5ffa158b229fdf4fefcdc34">operator!=</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1null__t.html">null_t</a> other) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> }</div>
</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span></div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00242" data-start="{" data-end="}">
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"><a class="line" href="structentt_1_1null__t.html#a1b143232fe50fc52fee376f4f8e23a76"> 242</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1null__t.html#a1b143232fe50fc52fee376f4f8e23a76">operator==</a>(<span class="keyword">const</span> Entity <a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keyword">using </span>traits_type = <a class="code hl_struct" href="structentt_1_1entt__traits.html">entt_traits&lt;Entity&gt;</a>;</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> <span class="keywordflow">return</span> traits_type::to_entity(<a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) == traits_type::to_entity(*<span class="keyword">this</span>);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> }</div>
</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00254" data-start="{" data-end="}">
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="structentt_1_1null__t.html#a2c8a4bdade66b7f7520d10b4bb4fc858"> 254</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1null__t.html#a2c8a4bdade66b7f7520d10b4bb4fc858">operator!=</a>(<span class="keyword">const</span> Entity <a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> <span class="keywordflow">return</span> !(<a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a> == *<span class="keyword">this</span>);</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> }</div>
</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span>};</div>
</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</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> Entity&gt;</div>
<div class="foldopen" id="foldopen00267" data-start="{" data-end="}">
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="namespaceentt.html#a60d2331ec59eb76f0304e675cfd645db"> 267</a></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> Entity lhs, <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1null__t.html">null_t</a> rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <span class="keywordflow">return</span> rhs.operator==(lhs);</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span>}</div>
</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00279" data-start="{" data-end="}">
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="namespaceentt.html#a9abdd7e1b2d1e98662354d5b8f691e91"> 279</a></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> Entity lhs, <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1null__t.html">null_t</a> rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="keywordflow">return</span> !(rhs == lhs);</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span>}</div>
</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span></div>
<div class="foldopen" id="foldopen00284" data-start="{" data-end="};">
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"><a class="line" href="structentt_1_1tombstone__t.html"> 284</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1tombstone__t.html">tombstone_t</a> {</div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00291" data-start="{" data-end="}">
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="structentt_1_1tombstone__t.html#a7ac55427538dd1b5e39ec064a4ffdd14"> 291</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keyword">operator</span> Entity() const noexcept {</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="keyword">using </span>traits_type = <a class="code hl_struct" href="structentt_1_1entt__traits.html">entt_traits&lt;Entity&gt;</a>;</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> value = traits_type::construct(traits_type::entity_mask, traits_type::version_mask);</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> value;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> }</div>
</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span></div>
<div class="foldopen" id="foldopen00302" data-start="{" data-end="}">
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="structentt_1_1tombstone__t.html#af95e989594791f7eb458b22269b0a3b5"> 302</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1tombstone__t.html#af95e989594791f7eb458b22269b0a3b5">operator==</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1tombstone__t.html">tombstone_t</a> other) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> }</div>
</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span></div>
<div class="foldopen" id="foldopen00311" data-start="{" data-end="}">
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="structentt_1_1tombstone__t.html#ac4d838cb66da20f90041cf6e57775512"> 311</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1tombstone__t.html#ac4d838cb66da20f90041cf6e57775512">operator!=</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1tombstone__t.html">tombstone_t</a> other) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> }</div>
</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00322" data-start="{" data-end="}">
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"><a class="line" href="structentt_1_1tombstone__t.html#a872e744dc422954ddcdfbbb191d8ec34"> 322</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1tombstone__t.html#a872e744dc422954ddcdfbbb191d8ec34">operator==</a>(<span class="keyword">const</span> Entity <a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keyword">using </span>traits_type = <a class="code hl_struct" href="structentt_1_1entt__traits.html">entt_traits&lt;Entity&gt;</a>;</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(traits_type::version_mask == 0u) {</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> } <span class="keywordflow">else</span> {</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> <span class="keywordflow">return</span> (traits_type::to_version(<a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) == traits_type::to_version(*<span class="keyword">this</span>));</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> }</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> }</div>
</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00339" data-start="{" data-end="}">
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"><a class="line" href="structentt_1_1tombstone__t.html#ac66ba66ee149c57866a9a97ac1188eba"> 339</a></span> [[nodiscard]] <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structentt_1_1tombstone__t.html#ac66ba66ee149c57866a9a97ac1188eba">operator!=</a>(<span class="keyword">const</span> Entity <a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a>) <span class="keyword">const</span> <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="keywordflow">return</span> !(<a class="code hl_enumeration" href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entity</a> == *<span class="keyword">this</span>);</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> }</div>
</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span>};</div>
</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00352" data-start="{" data-end="}">
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"><a class="line" href="namespaceentt.html#a9332718aa52e1ebd2c22c825eec7075c"> 352</a></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> Entity lhs, <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1tombstone__t.html">tombstone_t</a> rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> <span class="keywordflow">return</span> rhs.operator==(lhs);</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span>}</div>
</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span><span class="keyword">template</span>&lt;<span class="keyword">typename</span> Entity&gt;</div>
<div class="foldopen" id="foldopen00364" data-start="{" data-end="}">
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="namespaceentt.html#a5010897ed603a4eb066ea9d151a5f6cc"> 364</a></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> Entity lhs, <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1tombstone__t.html">tombstone_t</a> rhs) <span class="keyword">noexcept</span> {</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> <span class="keywordflow">return</span> !(rhs == lhs);</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span>}</div>
</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span></div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"><a class="line" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b"> 375</a></span><span class="keyword">inline</span> <span class="keyword">constexpr</span> <a class="code hl_struct" href="structentt_1_1null__t.html">null_t</a> <a class="code hl_variable" href="namespaceentt.html#a2f0c0a1c1d953ea991591748744cdd8b">null</a>{};</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862"> 384</a></span><span class="keyword">inline</span> <span class="keyword">constexpr</span> <a class="code hl_struct" href="structentt_1_1tombstone__t.html">tombstone_t</a> <a class="code hl_variable" href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">tombstone</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>} <span class="comment">// namespace entt</span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html">entt::basic_entt_traits</a></div><div class="ttdoc">Common basic entity traits implementation.</div><div class="ttdef"><b>Definition</b> <a href="#l00061">entity.hpp:61</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a066f3db5d13496df1e1fbc8659197793"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a066f3db5d13496df1e1fbc8659197793">entt::basic_entt_traits::entity_type</a></div><div class="ttdeci">typename Traits::entity_type entity_type</div><div class="ttdoc">Underlying entity type.</div><div class="ttdef"><b>Definition</b> <a href="#l00071">entity.hpp:71</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a0bd49c229b049ac5dc0fb21195b4bcc3"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a0bd49c229b049ac5dc0fb21195b4bcc3">entt::basic_entt_traits&lt; internal::entt_traits&lt; Type &gt; &gt;::version_mask</a></div><div class="ttdeci">static constexpr entity_type version_mask</div><div class="ttdef"><b>Definition</b> <a href="#l00078">entity.hpp:78</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a3d3c3e8fd538fb4394ea505dd0415ec5"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a3d3c3e8fd538fb4394ea505dd0415ec5">entt::basic_entt_traits::construct</a></div><div class="ttdeci">static constexpr value_type construct(const entity_type entity, const version_type version) noexcept</div><div class="ttdoc">Constructs an identifier from its parts.</div><div class="ttdef"><b>Definition</b> <a href="#l00131">entity.hpp:131</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a42a94cfb5923165804979505731ad7c6"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a42a94cfb5923165804979505731ad7c6">entt::basic_entt_traits::next</a></div><div class="ttdeci">static constexpr value_type next(const value_type value) noexcept</div><div class="ttdoc">Returns the successor of a given identifier.</div><div class="ttdef"><b>Definition</b> <a href="#l00116">entity.hpp:116</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a4eb435084cf47d4fbc840654f2e8c9e0"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a4eb435084cf47d4fbc840654f2e8c9e0">entt::basic_entt_traits::to_integral</a></div><div class="ttdeci">static constexpr entity_type to_integral(const value_type value) noexcept</div><div class="ttdoc">Converts an entity to its underlying type.</div><div class="ttdef"><b>Definition</b> <a href="#l00085">entity.hpp:85</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a6b93920c3b3347171c485fdbdead14ec"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a6b93920c3b3347171c485fdbdead14ec">entt::basic_entt_traits&lt; internal::entt_traits&lt; Type &gt; &gt;::entity_mask</a></div><div class="ttdeci">static constexpr entity_type entity_mask</div><div class="ttdef"><b>Definition</b> <a href="#l00076">entity.hpp:76</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a8c02bc8db33817ec509b7d32773fa463"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a8c02bc8db33817ec509b7d32773fa463">entt::basic_entt_traits::to_entity</a></div><div class="ttdeci">static constexpr entity_type to_entity(const value_type value) noexcept</div><div class="ttdoc">Returns the entity part once converted to the underlying type.</div><div class="ttdef"><b>Definition</b> <a href="#l00094">entity.hpp:94</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_a8d3ccdc302fc7dc567541fa12eca6b4e"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#a8d3ccdc302fc7dc567541fa12eca6b4e">entt::basic_entt_traits::value_type</a></div><div class="ttdeci">typename Traits::value_type value_type</div><div class="ttdoc">Value type.</div><div class="ttdef"><b>Definition</b> <a href="#l00069">entity.hpp:69</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_aa3fe33d19b228d07c5560b907f910c10"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#aa3fe33d19b228d07c5560b907f910c10">entt::basic_entt_traits::version_type</a></div><div class="ttdeci">typename Traits::version_type version_type</div><div class="ttdoc">Underlying version type.</div><div class="ttdef"><b>Definition</b> <a href="#l00073">entity.hpp:73</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_ad00358aea03a19c59efae2f8c005ae9b"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#ad00358aea03a19c59efae2f8c005ae9b">entt::basic_entt_traits::combine</a></div><div class="ttdeci">static constexpr value_type combine(const entity_type lhs, const entity_type rhs) noexcept</div><div class="ttdoc">Combines two identifiers in a single one.</div><div class="ttdef"><b>Definition</b> <a href="#l00149">entity.hpp:149</a></div></div>
<div class="ttc" id="aclassentt_1_1basic__entt__traits_html_af1e3c418f09660a761fab21078df6700"><div class="ttname"><a href="classentt_1_1basic__entt__traits.html#af1e3c418f09660a761fab21078df6700">entt::basic_entt_traits::to_version</a></div><div class="ttdeci">static constexpr version_type to_version(const value_type value) noexcept</div><div class="ttdoc">Returns the version part once converted to the underlying type.</div><div class="ttdef"><b>Definition</b> <a href="#l00103">entity.hpp:103</a></div></div>
<div class="ttc" id="anamespaceentt_html"><div class="ttname"><a href="namespaceentt.html">entt</a></div><div class="ttdoc">EnTT default namespace.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00022">dense_map.hpp:22</a></div></div>
<div class="ttc" id="anamespaceentt_html_a0b54e231d069e8a231e14b223388808a"><div class="ttname"><a href="namespaceentt.html#a0b54e231d069e8a231e14b223388808a">entt::entity</a></div><div class="ttdeci">entity</div><div class="ttdoc">Default entity identifier.</div><div class="ttdef"><b>Definition</b> <a href="entity_2fwd_8hpp_source.html#l00014">fwd.hpp:14</a></div></div>
<div class="ttc" id="anamespaceentt_html_a1202b4027d32db124efffdf1f2f8c5a2"><div class="ttname"><a href="namespaceentt.html#a1202b4027d32db124efffdf1f2f8c5a2">entt::to_entity</a></div><div class="ttdeci">constexpr entt_traits&lt; Entity &gt;::entity_type to_entity(const Entity value) noexcept</div><div class="ttdoc">Returns the entity part once converted to the underlying type.</div><div class="ttdef"><b>Definition</b> <a href="#l00188">entity.hpp:188</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="#l00375">entity.hpp:375</a></div></div>
<div class="ttc" id="anamespaceentt_html_a4b7d8995ec3448ce5151309ef2281d33"><div class="ttname"><a href="namespaceentt.html#a4b7d8995ec3448ce5151309ef2281d33">entt::to_version</a></div><div class="ttdeci">constexpr entt_traits&lt; Entity &gt;::version_type to_version(const Entity value) noexcept</div><div class="ttdoc">Returns the version part once converted to the underlying type.</div><div class="ttdef"><b>Definition</b> <a href="#l00199">entity.hpp:199</a></div></div>
<div class="ttc" id="anamespaceentt_html_a674269102fdfe3fd6d7766210a828862"><div class="ttname"><a href="namespaceentt.html#a674269102fdfe3fd6d7766210a828862">entt::tombstone</a></div><div class="ttdeci">constexpr tombstone_t tombstone</div><div class="ttdoc">Compile-time constant for tombstone entities.</div><div class="ttdef"><b>Definition</b> <a href="#l00384">entity.hpp:384</a></div></div>
<div class="ttc" id="anamespaceentt_html_ad2e252dbd8c8ebd486a3d84fbf8c2602"><div class="ttname"><a href="namespaceentt.html#ad2e252dbd8c8ebd486a3d84fbf8c2602">entt::to_integral</a></div><div class="ttdeci">constexpr entt_traits&lt; Entity &gt;::entity_type to_integral(const Entity value) noexcept</div><div class="ttdoc">Converts an entity to its underlying type.</div><div class="ttdef"><b>Definition</b> <a href="#l00177">entity.hpp:177</a></div></div>
<div class="ttc" id="anamespaceentt_html_ad9accc71a383509ada028f7fa2b767bf"><div class="ttname"><a href="namespaceentt.html#ad9accc71a383509ada028f7fa2b767bf">entt::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00232">hashed_string.hpp:232</a></div></div>
<div class="ttc" id="anamespaceentt_html_af7c61951b721a1e3612cf536bd707501"><div class="ttname"><a href="namespaceentt.html#af7c61951b721a1e3612cf536bd707501">entt::operator==</a></div><div class="ttdeci">constexpr bool operator==(const basic_hashed_string&lt; Char &gt; &amp;lhs, const basic_hashed_string&lt; Char &gt; &amp;rhs) noexcept</div><div class="ttdoc">Compares two hashed strings.</div><div class="ttdef"><b>Definition</b> <a href="hashed__string_8hpp_source.html#l00220">hashed_string.hpp:220</a></div></div>
<div class="ttc" id="anamespaceentt_html_afab136c473d8c862b183cec9d4a13915"><div class="ttname"><a href="namespaceentt.html#afab136c473d8c862b183cec9d4a13915">entt::popcount</a></div><div class="ttdeci">constexpr std::enable_if_t&lt; std::is_unsigned_v&lt; Type &gt;, int &gt; popcount(const Type value) noexcept</div><div class="ttdoc">Returns the number of set bits in a value (waiting for C++20 and std::popcount).</div><div class="ttdef"><b>Definition</b> <a href="bit_8hpp_source.html#l00019">bit.hpp:19</a></div></div>
<div class="ttc" id="astructentt_1_1entt__traits_html"><div class="ttname"><a href="structentt_1_1entt__traits.html">entt::entt_traits</a></div><div class="ttdoc">Entity traits.</div><div class="ttdef"><b>Definition</b> <a href="#l00163">entity.hpp:163</a></div></div>
<div class="ttc" id="astructentt_1_1entt__traits_html_a187c362626da03111928aff88f43bb83"><div class="ttname"><a href="structentt_1_1entt__traits.html#a187c362626da03111928aff88f43bb83">entt::entt_traits&lt; typename Registry::entity_type &gt;::page_size</a></div><div class="ttdeci">static constexpr std::size_t page_size</div><div class="ttdef"><b>Definition</b> <a href="#l00167">entity.hpp:167</a></div></div>
<div class="ttc" id="astructentt_1_1entt__traits_html_a8012c0ec9d8d57ef5622a5619f03c342"><div class="ttname"><a href="structentt_1_1entt__traits.html#a8012c0ec9d8d57ef5622a5619f03c342">entt::entt_traits::base_type</a></div><div class="ttdeci">basic_entt_traits&lt; internal::entt_traits&lt; Type &gt; &gt; base_type</div><div class="ttdoc">Base type.</div><div class="ttdef"><b>Definition</b> <a href="#l00165">entity.hpp:165</a></div></div>
<div class="ttc" id="astructentt_1_1null__t_html"><div class="ttname"><a href="structentt_1_1null__t.html">entt::null_t</a></div><div class="ttdoc">Null object for all identifiers.</div><div class="ttdef"><b>Definition</b> <a href="#l00204">entity.hpp:204</a></div></div>
<div class="ttc" id="astructentt_1_1null__t_html_a1b143232fe50fc52fee376f4f8e23a76"><div class="ttname"><a href="structentt_1_1null__t.html#a1b143232fe50fc52fee376f4f8e23a76">entt::null_t::operator==</a></div><div class="ttdeci">constexpr bool operator==(const Entity entity) const noexcept</div><div class="ttdoc">Compares a null object and an identifier of any type.</div><div class="ttdef"><b>Definition</b> <a href="#l00242">entity.hpp:242</a></div></div>
<div class="ttc" id="astructentt_1_1null__t_html_a2c8a4bdade66b7f7520d10b4bb4fc858"><div class="ttname"><a href="structentt_1_1null__t.html#a2c8a4bdade66b7f7520d10b4bb4fc858">entt::null_t::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const Entity entity) const noexcept</div><div class="ttdoc">Compares a null object and an identifier of any type.</div><div class="ttdef"><b>Definition</b> <a href="#l00254">entity.hpp:254</a></div></div>
<div class="ttc" id="astructentt_1_1null__t_html_a6736a78ac5ffa158b229fdf4fefcdc34"><div class="ttname"><a href="structentt_1_1null__t.html#a6736a78ac5ffa158b229fdf4fefcdc34">entt::null_t::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const null_t other) const noexcept</div><div class="ttdoc">Compares two null objects.</div><div class="ttdef"><b>Definition</b> <a href="#l00231">entity.hpp:231</a></div></div>
<div class="ttc" id="astructentt_1_1null__t_html_aed9c63b072bec4c7c6c15dc110620a93"><div class="ttname"><a href="structentt_1_1null__t.html#aed9c63b072bec4c7c6c15dc110620a93">entt::null_t::operator==</a></div><div class="ttdeci">constexpr bool operator==(const null_t other) const noexcept</div><div class="ttdoc">Compares two null objects.</div><div class="ttdef"><b>Definition</b> <a href="#l00222">entity.hpp:222</a></div></div>
<div class="ttc" id="astructentt_1_1tombstone__t_html"><div class="ttname"><a href="structentt_1_1tombstone__t.html">entt::tombstone_t</a></div><div class="ttdoc">Tombstone object for all identifiers.</div><div class="ttdef"><b>Definition</b> <a href="#l00284">entity.hpp:284</a></div></div>
<div class="ttc" id="astructentt_1_1tombstone__t_html_a872e744dc422954ddcdfbbb191d8ec34"><div class="ttname"><a href="structentt_1_1tombstone__t.html#a872e744dc422954ddcdfbbb191d8ec34">entt::tombstone_t::operator==</a></div><div class="ttdeci">constexpr bool operator==(const Entity entity) const noexcept</div><div class="ttdoc">Compares a tombstone object and an identifier of any type.</div><div class="ttdef"><b>Definition</b> <a href="#l00322">entity.hpp:322</a></div></div>
<div class="ttc" id="astructentt_1_1tombstone__t_html_ac4d838cb66da20f90041cf6e57775512"><div class="ttname"><a href="structentt_1_1tombstone__t.html#ac4d838cb66da20f90041cf6e57775512">entt::tombstone_t::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const tombstone_t other) const noexcept</div><div class="ttdoc">Compares two tombstone objects.</div><div class="ttdef"><b>Definition</b> <a href="#l00311">entity.hpp:311</a></div></div>
<div class="ttc" id="astructentt_1_1tombstone__t_html_ac66ba66ee149c57866a9a97ac1188eba"><div class="ttname"><a href="structentt_1_1tombstone__t.html#ac66ba66ee149c57866a9a97ac1188eba">entt::tombstone_t::operator!=</a></div><div class="ttdeci">constexpr bool operator!=(const Entity entity) const noexcept</div><div class="ttdoc">Compares a tombstone object and an identifier of any type.</div><div class="ttdef"><b>Definition</b> <a href="#l00339">entity.hpp:339</a></div></div>
<div class="ttc" id="astructentt_1_1tombstone__t_html_af95e989594791f7eb458b22269b0a3b5"><div class="ttname"><a href="structentt_1_1tombstone__t.html#af95e989594791f7eb458b22269b0a3b5">entt::tombstone_t::operator==</a></div><div class="ttdeci">constexpr bool operator==(const tombstone_t other) const noexcept</div><div class="ttdoc">Compares two tombstone objects.</div><div class="ttdef"><b>Definition</b> <a href="#l00302">entity.hpp:302</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.13.2
</small></address>
</div><!-- doc-content -->
</body>
</html>