API reference v3.15.0
This commit is contained in:
+137
-130
@@ -3,13 +3,15 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.10.0"/>
|
||||
<meta name="generator" content="Doxygen 1.13.2"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>EnTT: src/entt/poly/poly.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>
|
||||
@@ -23,7 +25,7 @@
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">EnTT<span id="projectnumber"> 3.14.0</span>
|
||||
<div id="projectname">EnTT<span id="projectnumber"> 3.15.0</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -31,18 +33,23 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.10.0 -->
|
||||
<!-- Generated by Doxygen 1.13.2 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&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&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
initMenu('',true,false,'search.php','Search',false);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
@@ -50,7 +57,7 @@ $(function() {
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(0); });
|
||||
$(function(){ initResizable(false); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<!-- window showing the filter options -->
|
||||
@@ -79,6 +86,7 @@ $(function() { codefold.init(0); });
|
||||
<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_84cd6c110d68697bc23812bee21a8ed6.html">poly</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div id="doc-content">
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">poly.hpp</div></div>
|
||||
</div><!--header-->
|
||||
@@ -97,87 +105,87 @@ $(function() { codefold.init(0); });
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include "fwd.hpp"</span></div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceentt.html">entt</a> {</div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span></div>
|
||||
<div class="foldopen" id="foldopen00017" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="structentt_1_1poly__inspector.html"> 17</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1poly__inspector.html">poly_inspector</a> {</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type></div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structentt_1_1poly__inspector.html#a5b44cbea11e79b2ff918165b7bf100eb"> 23</a></span> <span class="keyword">operator</span> Type &&() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">template</span><std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Member</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structentt_1_1poly__inspector.html#a8539b30952dd5a66aa24f334ae4976de"> 33</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1poly__inspector.html">poly_inspector</a> <a class="code hl_function" href="structentt_1_1poly__inspector.html#a8539b30952dd5a66aa24f334ae4976de">invoke</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">template</span><std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Member</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structentt_1_1poly__inspector.html#ac829c393c3d78f306edd0307f71139cb"> 37</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_struct" href="structentt_1_1poly__inspector.html">poly_inspector</a> <a class="code hl_function" href="structentt_1_1poly__inspector.html#ac829c393c3d78f306edd0307f71139cb">invoke</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>);</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">template</span><std::size_t Member, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structentt_1_1poly__inspector.html#a8539b30952dd5a66aa24f334ae4976de"> 33</a></span> [[nodiscard]] <a class="code hl_struct" href="structentt_1_1poly__inspector.html">poly_inspector</a> <a class="code hl_function" href="structentt_1_1poly__inspector.html#a8539b30952dd5a66aa24f334ae4976de">invoke</a>(Args &&...args) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span></div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">template</span><std::size_t Member, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structentt_1_1poly__inspector.html#ac829c393c3d78f306edd0307f71139cb"> 37</a></span> [[nodiscard]] <a class="code hl_struct" href="structentt_1_1poly__inspector.html">poly_inspector</a> <a class="code hl_function" href="structentt_1_1poly__inspector.html#ac829c393c3d78f306edd0307f71139cb">invoke</a>(Args &&...args);</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span></div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">template</span><<span class="keyword">typename</span> Concept, std::<span class="keywordtype">size_t</span> Len, std::<span class="keywordtype">size_t</span> Align></div>
|
||||
<div class="foldopen" id="foldopen00047" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classentt_1_1poly__vtable.html"> 47</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1poly__vtable.html">poly_vtable</a> {</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">using </span>inspector = <span class="keyword">typename</span> Concept::template <a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a1114a981955e596da36603282cee2e4d">type<poly_inspector></a>;</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">using </span>inspector = <span class="keyword">typename</span> Concept::template <a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a8969ca93b53151ab8e922995f937afa1">type<poly_inspector></a>;</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">template</span><<span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a>, <span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*)(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...))</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> -> std::enable_if_t<std::is_base_of_v<std::remove_const_t<Clazz>, inspector>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*)(<a class="code hl_typedef" href="namespaceentt.html#a13168ef82af733bfe584f34f29472d20">constness_as_t<basic_any<Len, Align></a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a>> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...)>;</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">template</span><<span class="keyword">typename</span> Ret, <span class="keyword">typename</span> Clazz, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(Ret (*)(Clazz &, Args...))</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> -> std::enable_if_t<std::is_base_of_v<std::remove_const_t<Clazz>, inspector>, Ret (*)(<a class="code hl_typedef" href="namespaceentt.html#a13168ef82af733bfe584f34f29472d20">constness_as_t<basic_any<Len, Align></a>, Clazz> &, Args...)>;</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">template</span><<span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*)(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...))</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> -> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*)(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...);</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">template</span><<span class="keyword">typename</span> Ret, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(Ret (*)(Args...))</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> -> Ret (*)(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> &, Args...);</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">template</span><<span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a>, <span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a>::*)(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...))</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> -> std::enable_if_t<std::is_base_of_v<Clazz, inspector>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*)(<a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...)>;</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">template</span><<span class="keyword">typename</span> Ret, <span class="keyword">typename</span> Clazz, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(Ret (Clazz::*)(Args...))</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> -> std::enable_if_t<std::is_base_of_v<Clazz, inspector>, Ret (*)(<a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> &, Args...)>;</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">template</span><<span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a>, <span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Clazz</a>::*)(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...) <span class="keyword">const</span>)</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> -> std::enable_if_t<std::is_base_of_v<Clazz, inspector>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*)(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...)>;</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">template</span><<span class="keyword">typename</span> Ret, <span class="keyword">typename</span> Clazz, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">static</span> <span class="keyword">auto</span> vtable_entry(Ret (Clazz::*)(Args...) <span class="keyword">const</span>)</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> -> std::enable_if_t<std::is_base_of_v<Clazz, inspector>, Ret (*)(<span class="keyword">const</span> <a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> &, Args...)>;</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">template</span><<span class="keyword">auto</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Candidate</a>></div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">template</span><<span class="keyword">auto</span>... Candidate></div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">static</span> <span class="keyword">auto</span> make_vtable(<a class="code hl_struct" href="structentt_1_1value__list.html">value_list<Candidate...></a>) <span class="keyword">noexcept</span></div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> -> <span class="keyword">decltype</span>(std::make_tuple(vtable_entry(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Candidate</a>)...));</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> -> <span class="keyword">decltype</span>(std::make_tuple(vtable_entry(Candidate)...));</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">template</span><<span class="keyword">typename</span>... Func></div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> make_vtable(<a class="code hl_struct" href="structentt_1_1type__list.html">type_list<Func...></a>) <span class="keyword">noexcept</span> {</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Func) == 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>) {</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">return</span> <span class="keyword">decltype</span>(make_vtable(<span class="keyword">typename</span> Concept::template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">impl<inspector></a>{})){};</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keyword">auto</span> make_vtable(<a class="code hl_struct" href="structentt_1_1type__list.html">type_list<Func...></a>) <span class="keyword">noexcept</span> {</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(<span class="keyword">sizeof</span>...(Func) == 0u) {</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">return</span> <span class="keyword">decltype</span>(make_vtable(<span class="keyword">typename</span> Concept::template impl<inspector>{})){};</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>((std::is_function_v<Func> && ...)) {</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordflow">return</span> <span class="keyword">decltype</span>(std::make_tuple(vtable_entry(std::declval<Func inspector::*>())...)){};</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> }</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">auto</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Candidate</a>, <span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a>, <span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Any</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">static</span> <span class="keywordtype">void</span> fill_vtable_entry(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> (*&<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entry</a>)(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Any</a> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...)) <span class="keyword">noexcept</span> {</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_invocable_r_v<<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a>, <span class="keyword">decltype</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Candidate</a>), <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>...>) {</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entry</a> = +[](<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Any</a> &, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) -> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">return</span> std::invoke(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Candidate</a>, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">auto</span> Candidate, <span class="keyword">typename</span> Ret, <span class="keyword">typename</span> Any, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">static</span> <span class="keywordtype">void</span> fill_vtable_entry(Ret (*&entry)(Any &, Args...)) <span class="keyword">noexcept</span> {</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_invocable_r_v<Ret, <span class="keyword">decltype</span>(Candidate), Args...>) {</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> entry = +[](Any &, Args... args) -> Ret {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">return</span> std::invoke(Candidate, std::forward<Args>(args)...);</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="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entry</a> = +[](<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Any</a> &<a class="code hl_function" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">instance</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) -> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a> {</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Ret</a><span class="keyword">></span>(std::invoke(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Candidate</a>, <a class="code hl_function" href="namespaceentt.html#a4ce71953bc9fb5283641465fb40025dc">any_cast</a><<a class="code hl_typedef" href="namespaceentt.html#a13168ef82af733bfe584f34f29472d20">constness_as_t<Type, Any></a> &>(<a class="code hl_function" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">instance</a>), std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...));</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> entry = +[](Any &<a class="code hl_function" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">instance</a>, Args... args) -> Ret {</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> <span class="keyword">static_cast<</span>Ret<span class="keyword">></span>(std::invoke(Candidate, <a class="code hl_function" href="namespaceentt.html#a4ce71953bc9fb5283641465fb40025dc">any_cast</a><<a class="code hl_typedef" href="namespaceentt.html#a13168ef82af733bfe584f34f29472d20">constness_as_t<Type, Any></a> &>(<a class="code hl_function" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">instance</a>), std::forward<Args>(args)...));</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> }</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">auto</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Index</a>></div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">static</span> <span class="keyword">auto</span> fill_vtable(std::index_sequence<Index...>) <span class="keyword">noexcept</span> {</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> vtable_type <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">impl</a>{};</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> (<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">fill_vtable_entry<Type, value_list_element_v<Index, typename Concept::template impl<Type></a>>>(std::get<Index>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">impl</a>)), ...);</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">impl</a>;</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">auto</span>... Index></div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">auto</span> fill_vtable(std::index_sequence<Index...>) <span class="keyword">noexcept</span> {</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> vtable_type impl{};</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> (fill_vtable_entry<Type, value_list_element_v<Index, typename Concept::template impl<Type>>>(std::get<Index>(impl)), ...);</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordflow">return</span> impl;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> }</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">using </span>vtable_type = <span class="keyword">decltype</span>(make_vtable(Concept{}));</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> is_mono_v = std::tuple_size_v<vtable_type> == 1u;</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> is_mono = std::tuple_size_v<vtable_type> == 1u;</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><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="classentt_1_1poly__vtable.html#a1114a981955e596da36603282cee2e4d"> 104</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a1114a981955e596da36603282cee2e4d">type</a> = std::conditional_t<is_mono_v, std::tuple_element_t<0u, vtable_type>, <span class="keyword">const</span> vtable_type *>;</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="classentt_1_1poly__vtable.html#a8969ca93b53151ab8e922995f937afa1"> 104</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a8969ca93b53151ab8e922995f937afa1">type</a> = std::conditional_t<is_mono, std::tuple_element_t<0u, vtable_type>, <span class="keyword">const</span> vtable_type *>;</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span></div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type></div>
|
||||
<div class="foldopen" id="foldopen00112" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d"> 112</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">static</span> <a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a1114a981955e596da36603282cee2e4d">type</a> <a class="code hl_function" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">instance</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d"> 112</a></span> [[nodiscard]] <span class="keyword">static</span> <a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a8969ca93b53151ab8e922995f937afa1">type</a> <a class="code hl_function" href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">instance</a>() noexcept {</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">static_assert</span>(std::is_same_v<Type, std::decay_t<Type>>, <span class="stringliteral">"Type differs from its decayed form"</span>);</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">static</span> <span class="keyword">const</span> vtable_type vtable = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">fill_vtable<Type></a>(std::make_index_sequence<Concept::template impl<Type>::size>{});</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">static</span> <span class="keyword">const</span> vtable_type vtable = fill_vtable<Type>(std::make_index_sequence<Concept::template impl<Type>::size>{});</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(is_mono_v) {</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(is_mono) {</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">return</span> std::get<0>(vtable);</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">return</span> &vtable;</div>
|
||||
@@ -186,141 +194,141 @@ $(function() { codefold.init(0); });
|
||||
</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span></div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><span class="keyword">template</span><<span class="keyword">typename</span> Poly></div>
|
||||
<div class="foldopen" id="foldopen00129" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="structentt_1_1poly__base.html"> 129</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a> {</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">template</span><std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Member</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">template</span><std::size_t Member, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="foldopen" id="foldopen00139" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="structentt_1_1poly__base.html#a814fd041b02ddfe60577b23d174e7182"> 139</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="structentt_1_1poly__base.html#a814fd041b02ddfe60577b23d174e7182">invoke</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) <span class="keyword">const</span> {</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">const</span> <span class="keyword">auto</span> &<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a> = <span class="keyword">static_cast<</span><span class="keyword">const </span><a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Poly</a> &<span class="keyword">></span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>);</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="structentt_1_1poly__base.html#a814fd041b02ddfe60577b23d174e7182"> 139</a></span> [[nodiscard]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="structentt_1_1poly__base.html#a814fd041b02ddfe60577b23d174e7182">invoke</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a> &self, Args &&...args) <span class="keyword">const</span> {</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">const</span> <span class="keyword">auto</span> &<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a> = <span class="keyword">static_cast<</span><span class="keyword">const </span>Poly &<span class="keyword">></span>(self);</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_function_v<std::remove_pointer_t<<span class="keyword">decltype</span>(<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.vtable)>>) {</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.vtable(<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.storage, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_function_v<std::remove_pointer_t<<span class="keyword">decltype</span>(<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.vtable)>>) {</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.vtable(<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.storage, std::forward<Args>(args)...);</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keywordflow">return</span> std::get<Member>(*<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.vtable)(<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.storage, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keywordflow">return</span> std::get<Member>(*<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.vtable)(<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.storage, std::forward<Args>(args)...);</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> }</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">template</span><std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Member</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span></div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">template</span><std::size_t Member, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="foldopen" id="foldopen00151" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="structentt_1_1poly__base.html#a8e782d45ce62d6bd620ad22a0ee913e2"> 151</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="structentt_1_1poly__base.html#a8e782d45ce62d6bd620ad22a0ee913e2">invoke</a>(<a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a> &<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) {</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">auto</span> &<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a> = <span class="keyword">static_cast<</span><a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Poly</a> &<span class="keyword">></span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>);</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="structentt_1_1poly__base.html#a8e782d45ce62d6bd620ad22a0ee913e2"> 151</a></span> [[nodiscard]] <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="structentt_1_1poly__base.html#a8e782d45ce62d6bd620ad22a0ee913e2">invoke</a>(<a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a> &self, Args &&...args) {</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">auto</span> &<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a> = <span class="keyword">static_cast<</span>Poly &<span class="keyword">></span>(self);</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_function_v<std::remove_pointer_t<<span class="keyword">decltype</span>(<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.vtable)>>) {</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">static_assert</span>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Member</a> == 0<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">u</a>, <span class="stringliteral">"Unknown member"</span>);</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.vtable(<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.storage, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <span class="keywordflow">if</span> <span class="keyword">constexpr</span>(std::is_function_v<std::remove_pointer_t<<span class="keyword">decltype</span>(<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.vtable)>>) {</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">static_assert</span>(Member == 0u, <span class="stringliteral">"Unknown member"</span>);</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordflow">return</span> <a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.vtable(<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.storage, std::forward<Args>(args)...);</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">return</span> std::get<Member>(*<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.vtable)(<a class="code hl_class" href="classentt_1_1basic__poly.html">poly</a>.storage, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">return</span> std::get<Member>(*<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.vtable)(<a class="code hl_typedef" href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">poly</a>.storage, std::forward<Args>(args)...);</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> }</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="keyword">template</span><std::size_t <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Member</a>, <span class="keyword">typename</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Poly</a>, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span></div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="keyword">template</span><std::size_t Member, <span class="keyword">typename</span> Poly, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="foldopen" id="foldopen00173" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="namespaceentt.html#a8b4f2adf317a555138ef5c1cf45b034a"> 173</a></span><span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="namespaceentt.html#a8b4f2adf317a555138ef5c1cf45b034a">poly_call</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Poly</a> &&<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) {</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> std::forward<Poly>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>).template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">invoke<Member></a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">self</a>, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="namespaceentt.html#a8b4f2adf317a555138ef5c1cf45b034a"> 173</a></span><span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="namespaceentt.html#a8b4f2adf317a555138ef5c1cf45b034a">poly_call</a>(Poly &&self, Args &&...args) {</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> std::forward<Poly>(self).template <a class="code hl_function" href="namespaceentt.html#ac25eea8903b4a5d58408cc2e9ecb1a2e">invoke<Member></a>(self, std::forward<Args>(args)...);</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span></div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span><span class="keyword">template</span><<span class="keyword">typename</span> Concept, std::<span class="keywordtype">size_t</span> Len, std::<span class="keywordtype">size_t</span> Align></div>
|
||||
<div class="foldopen" id="foldopen00193" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html"> 193</a></span><span class="keyword">class </span><a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a>: <span class="keyword">private</span> Concept::template type<poly_base<basic_poly<Concept, Len, Align>>> {</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">friend</span> <span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a><<a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a>>;</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html"> 193</a></span><span class="keyword">class </span><a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a>: <span class="keyword">private</span> Concept::template <a class="code hl_function" href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db">type</a><poly_base<basic_poly<Concept, Len, Align>>> {</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">friend</span> <span class="keyword">struct </span><a class="code hl_struct" href="structentt_1_1poly__base.html">poly_base</a><<a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a>>;</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf"> 198</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">concept_type</a> = <span class="keyword">typename</span> Concept::template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">type<poly_base<basic_poly></a>>;</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054"> 200</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054">vtable_type</a> = <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a1114a981955e596da36603282cee2e4d">poly_vtable<Concept, Len, Align>::type</a>;</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> </div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44"> 203</a></span> <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> = <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">default</a>;</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">template</a><<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">typename</a> Type, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">typename</a>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf"> 198</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">concept_type</a> = <span class="keyword">typename</span> Concept::template <a class="code hl_function" href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db">type<poly_base<basic_poly></a>>;</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054"> 200</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054">vtable_type</a> = <span class="keyword">typename</span> <a class="code hl_typedef" href="classentt_1_1poly__vtable.html#a8969ca93b53151ab8e922995f937afa1">poly_vtable<Concept, Len, Align>::type</a>;</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span></div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44"> 203</a></span> <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a>() noexcept = default;</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span></div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> template<typename Type, typename... Args></div>
|
||||
<div class="foldopen" id="foldopen00212" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aed074839fc14e757f761d89606895062"> 212</a></span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">explicit</a> <a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a>(std::<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">in_place_type_t</a><Type>, <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> : <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>{std::in_place_type<Type>, std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...},</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> vtable{<a class="code hl_class" href="classentt_1_1poly__vtable.html">poly_vtable<Concept, Len, Align>::template</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">instance<std::remove_cv_t<std::remove_reference_t<Type></a>>>()} {}</div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aed074839fc14e757f761d89606895062"> 212</a></span> explicit <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a>(std::in_place_type_t<Type>, Args &&...args)</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> : storage{std::in_place_type<Type>, std::forward<Args>(args)...},</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> vtable{<a class="code hl_class" href="classentt_1_1poly__vtable.html">poly_vtable<Concept, Len, Align>::template</a> instance<std::remove_cv_t<std::remove_reference_t<Type>>>()} {}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span></div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">typename</span> = std::enable_if_t<!std::is_same_v<std::remove_cv_t<std::remove_reference_t<Type>>, basic_poly>>></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="classentt_1_1basic__poly.html#aa587d96479005de4cd19047a7c76cf94"> 222</a></span> <a class="code hl_function" href="classentt_1_1basic__poly.html#aa587d96479005de4cd19047a7c76cf94">basic_poly</a>(Type &&value) <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a></div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> : <a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a>{std::in_place_type<std::remove_cv_t<std::remove_reference_t<Type>>>, std::forward<Type>(value)} {}</div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aa587d96479005de4cd19047a7c76cf94"> 222</a></span> <a class="code hl_function" href="classentt_1_1basic__poly.html#aa587d96479005de4cd19047a7c76cf94">basic_poly</a>(Type &&value) noexcept</div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> : <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a>{std::in_place_type<std::remove_cv_t<std::remove_reference_t<Type>>>, std::forward<Type>(value)} {}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span></div>
|
||||
<div class="foldopen" id="foldopen00229" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db"> 229</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1type__info.html">type_info</a> &<a class="code hl_function" href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db">type</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#ae37830b84f2801670927b8ae881d72b7">type</a>();</div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db"> 229</a></span> [[nodiscard]] <span class="keyword">const</span> <a class="code hl_struct" href="structentt_1_1type__info.html">type_info</a> &<a class="code hl_function" href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db">type</a>() const noexcept {</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keywordflow">return</span> storage.type();</div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> </div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span></div>
|
||||
<div class="foldopen" id="foldopen00237" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aee4305d651f7b2f5248eba2cbfea4f17"> 237</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code hl_function" href="classentt_1_1basic__poly.html#aee4305d651f7b2f5248eba2cbfea4f17">data</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">data</a>();</div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aee4305d651f7b2f5248eba2cbfea4f17"> 237</a></span> [[nodiscard]] <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code hl_function" href="classentt_1_1basic__poly.html#aee4305d651f7b2f5248eba2cbfea4f17">data</a>() const noexcept {</div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="keywordflow">return</span> storage.data();</div>
|
||||
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> </div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span></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="classentt_1_1basic__poly.html#a37aafd6c5ebf21b0eb66c3934abcbc06"> 242</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keywordtype">void</span> *<a class="code hl_function" href="classentt_1_1basic__poly.html#a37aafd6c5ebf21b0eb66c3934abcbc06">data</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.<a class="code hl_function" href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">data</a>();</div>
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a37aafd6c5ebf21b0eb66c3934abcbc06"> 242</a></span> [[nodiscard]] <span class="keywordtype">void</span> *<a class="code hl_function" href="classentt_1_1basic__poly.html#a37aafd6c5ebf21b0eb66c3934abcbc06">data</a>() noexcept {</div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <span class="keywordflow">return</span> storage.data();</div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> </div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">typename</span>... <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a>></div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span></div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <span class="keyword">template</span><<span class="keyword">typename</span> Type, <span class="keyword">typename</span>... Args></div>
|
||||
<div class="foldopen" id="foldopen00253" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a6aaa4ef03f6f2a599abcf633412d6a8d"> 253</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__poly.html#a6aaa4ef03f6f2a599abcf633412d6a8d">emplace</a>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">Args</a> &&...<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>) {</div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.template <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">emplace<Type></a>(std::forward<Args>(<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">args</a>)...);</div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> vtable = <a class="code hl_class" href="classentt_1_1poly__vtable.html">poly_vtable<Concept, Len, Align>::template</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">instance<std::remove_cv_t<std::remove_reference_t<Type></a>>>();</div>
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a6aaa4ef03f6f2a599abcf633412d6a8d"> 253</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__poly.html#a6aaa4ef03f6f2a599abcf633412d6a8d">emplace</a>(Args &&...args) {</div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> storage.template <a class="code hl_function" href="classentt_1_1basic__poly.html#a6aaa4ef03f6f2a599abcf633412d6a8d">emplace<Type></a>(std::forward<Args>(args)...);</div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> vtable = <a class="code hl_class" href="classentt_1_1poly__vtable.html">poly_vtable<Concept, Len, Align>::template</a> instance<std::remove_cv_t<std::remove_reference_t<Type>>>();</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 class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span></div>
|
||||
<div class="foldopen" id="foldopen00259" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a43ab35169a0fdb31f7f5db5e5ad0e17d"> 259</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classentt_1_1basic__poly.html#a43ab35169a0fdb31f7f5db5e5ad0e17d">reset</a>() {</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.reset();</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> storage.reset();</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> vtable = {};</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> </div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span></div>
|
||||
<div class="foldopen" id="foldopen00268" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a9bd854e20fcb28a1c8bd9e616cce21a7"> 268</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">explicit</span> <span class="keyword">operator</span> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">bool</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">bool</span><span class="keyword">></span>(<a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>);</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a9bd854e20fcb28a1c8bd9e616cce21a7"> 268</a></span> [[nodiscard]] <span class="keyword">explicit</span> <span class="keyword">operator</span> bool() const noexcept {</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">bool</span><span class="keyword">></span>(storage);</div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span></div>
|
||||
<div class="foldopen" id="foldopen00276" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a490333415cfcb0c59b12a11f8ccd36c7"> 276</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_typedef" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">concept_type</a> *<a class="code hl_function" href="classentt_1_1basic__poly.html#a490333415cfcb0c59b12a11f8ccd36c7">operator-></a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a490333415cfcb0c59b12a11f8ccd36c7"> 276</a></span> [[nodiscard]] <a class="code hl_typedef" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">concept_type</a> *<a class="code hl_function" href="classentt_1_1basic__poly.html#a490333415cfcb0c59b12a11f8ccd36c7">operator-></a>() noexcept {</div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="keywordflow">return</span> <span class="keyword">this</span>;</div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> </div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span></div>
|
||||
<div class="foldopen" id="foldopen00281" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aa4453091b5b53c536ae2f6a1b1fce189"> 281</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">concept_type</a> *<a class="code hl_function" href="classentt_1_1basic__poly.html#aa4453091b5b53c536ae2f6a1b1fce189">operator-></a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#aa4453091b5b53c536ae2f6a1b1fce189"> 281</a></span> [[nodiscard]] <span class="keyword">const</span> <a class="code hl_typedef" href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">concept_type</a> *<a class="code hl_function" href="classentt_1_1basic__poly.html#aa4453091b5b53c536ae2f6a1b1fce189">operator-></a>() const noexcept {</div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <span class="keywordflow">return</span> <span class="keyword">this</span>;</div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> </div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span></div>
|
||||
<div class="foldopen" id="foldopen00289" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a327c0a52b8eff8be5746bd0215d6a6d0"> 289</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a> <a class="code hl_function" href="classentt_1_1basic__poly.html#a327c0a52b8eff8be5746bd0215d6a6d0">as_ref</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>{};</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>.storage = <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.as_ref();</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a327c0a52b8eff8be5746bd0215d6a6d0"> 289</a></span> [[nodiscard]] <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a> <a class="code hl_function" href="classentt_1_1basic__poly.html#a327c0a52b8eff8be5746bd0215d6a6d0">as_ref</a>() noexcept {</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>{};</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>.storage = storage.as_ref();</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>.vtable = vtable;</div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>;</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span></div>
|
||||
<div class="foldopen" id="foldopen00297" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a8293af6e4643b9917aee7962016f5470"> 297</a></span> [[<a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">nodiscard</a>]] <a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a> <a class="code hl_function" href="classentt_1_1basic__poly.html#a8293af6e4643b9917aee7962016f5470">as_ref</a>() <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">const</a> <a class="code hl_function" href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">noexcept</a> {</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <a class="code hl_class" href="classentt_1_1basic__poly.html">basic_poly</a> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>{};</div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>.storage = <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>.as_ref();</div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="classentt_1_1basic__poly.html#a8293af6e4643b9917aee7962016f5470"> 297</a></span> [[nodiscard]] <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a> <a class="code hl_function" href="classentt_1_1basic__poly.html#a8293af6e4643b9917aee7962016f5470">as_ref</a>() const noexcept {</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <a class="code hl_function" href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">basic_poly</a> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>{};</div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>.storage = storage.as_ref();</div>
|
||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>.vtable = vtable;</div>
|
||||
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">ref</a>;</div>
|
||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> }</div>
|
||||
</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">private</span>:</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> <a class="code hl_class" href="classentt_1_1basic__storage.html">storage</a>{};</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <a class="code hl_class" href="classentt_1_1basic__any.html">basic_any<Len, Align></a> <a class="code hl_typedef" href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">storage</a>{};</div>
|
||||
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <a class="code hl_typedef" href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054">vtable_type</a> vtable{};</div>
|
||||
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span>};</div>
|
||||
</div>
|
||||
@@ -328,33 +336,31 @@ $(function() { codefold.init(0); });
|
||||
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span>} <span class="comment">// namespace entt</span></div>
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__any_html"><div class="ttname"><a href="classentt_1_1basic__any.html">entt::basic_any</a></div><div class="ttdoc">A SBO friendly, type-safe container for single values of any type.</div><div class="ttdef"><b>Definition</b> <a href="any_8hpp_source.html#l00048">any.hpp:48</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html"><div class="ttname"><a href="classentt_1_1basic__poly.html">entt::basic_poly</a></div><div class="ttdoc">Static polymorphism made simple and within everyone's reach.</div><div class="ttdef"><b>Definition</b> <a href="#l00193">poly.hpp:193</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__any_html"><div class="ttname"><a href="classentt_1_1basic__any.html">entt::basic_any</a></div><div class="ttdoc">A SBO friendly, type-safe container for single values of any type.</div><div class="ttdef"><b>Definition</b> <a href="any_8hpp_source.html#l00038">any.hpp:38</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a0341f0451d35dbe7a70634e4cf5037db"><div class="ttname"><a href="classentt_1_1basic__poly.html#a0341f0451d35dbe7a70634e4cf5037db">entt::basic_poly::type</a></div><div class="ttdeci">const type_info & type() const noexcept</div><div class="ttdoc">Returns the object type if any, type_id<void>() otherwise.</div><div class="ttdef"><b>Definition</b> <a href="#l00229">poly.hpp:229</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a327c0a52b8eff8be5746bd0215d6a6d0"><div class="ttname"><a href="classentt_1_1basic__poly.html#a327c0a52b8eff8be5746bd0215d6a6d0">entt::basic_poly::as_ref</a></div><div class="ttdeci">basic_poly as_ref() noexcept</div><div class="ttdoc">Aliasing constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00289">poly.hpp:289</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a37aafd6c5ebf21b0eb66c3934abcbc06"><div class="ttname"><a href="classentt_1_1basic__poly.html#a37aafd6c5ebf21b0eb66c3934abcbc06">entt::basic_poly::data</a></div><div class="ttdeci">void * data() noexcept</div><div class="ttdoc">Returns an opaque pointer to the contained instance.</div><div class="ttdef"><b>Definition</b> <a href="#l00242">poly.hpp:242</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a43ab35169a0fdb31f7f5db5e5ad0e17d"><div class="ttname"><a href="classentt_1_1basic__poly.html#a43ab35169a0fdb31f7f5db5e5ad0e17d">entt::basic_poly::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">Destroys contained object.</div><div class="ttdef"><b>Definition</b> <a href="#l00259">poly.hpp:259</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a490333415cfcb0c59b12a11f8ccd36c7"><div class="ttname"><a href="classentt_1_1basic__poly.html#a490333415cfcb0c59b12a11f8ccd36c7">entt::basic_poly::operator-></a></div><div class="ttdeci">concept_type * operator->() noexcept</div><div class="ttdoc">Returns a pointer to the underlying concept.</div><div class="ttdef"><b>Definition</b> <a href="#l00276">poly.hpp:276</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a6aaa4ef03f6f2a599abcf633412d6a8d"><div class="ttname"><a href="classentt_1_1basic__poly.html#a6aaa4ef03f6f2a599abcf633412d6a8d">entt::basic_poly::emplace</a></div><div class="ttdeci">void emplace(Args &&...args)</div><div class="ttdoc">Replaces the contained object by creating a new instance directly.</div><div class="ttdef"><b>Definition</b> <a href="#l00253">poly.hpp:253</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a71786016b64718d72167ff763f4793cf"><div class="ttname"><a href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">entt::basic_poly::concept_type</a></div><div class="ttdeci">typename Concept::template type< poly_base< basic_poly > > concept_type</div><div class="ttdoc">Concept type.</div><div class="ttdef"><b>Definition</b> <a href="#l00198">poly.hpp:198</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a71786016b64718d72167ff763f4793cf"><div class="ttname"><a href="classentt_1_1basic__poly.html#a71786016b64718d72167ff763f4793cf">entt::basic_poly< Concept >::concept_type</a></div><div class="ttdeci">typename Concept::template type< poly_base< basic_poly > > concept_type</div><div class="ttdef"><b>Definition</b> <a href="#l00198">poly.hpp:198</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_a8293af6e4643b9917aee7962016f5470"><div class="ttname"><a href="classentt_1_1basic__poly.html#a8293af6e4643b9917aee7962016f5470">entt::basic_poly::as_ref</a></div><div class="ttdeci">basic_poly as_ref() const noexcept</div><div class="ttdoc">Aliasing constructor.</div><div class="ttdef"><b>Definition</b> <a href="#l00297">poly.hpp:297</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_aa4453091b5b53c536ae2f6a1b1fce189"><div class="ttname"><a href="classentt_1_1basic__poly.html#aa4453091b5b53c536ae2f6a1b1fce189">entt::basic_poly::operator-></a></div><div class="ttdeci">const concept_type * operator->() const noexcept</div><div class="ttdoc">Returns a pointer to the underlying concept.</div><div class="ttdef"><b>Definition</b> <a href="#l00281">poly.hpp:281</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_aa587d96479005de4cd19047a7c76cf94"><div class="ttname"><a href="classentt_1_1basic__poly.html#aa587d96479005de4cd19047a7c76cf94">entt::basic_poly::basic_poly</a></div><div class="ttdeci">basic_poly(Type &&value) noexcept</div><div class="ttdoc">Constructs a poly from a given value.</div><div class="ttdef"><b>Definition</b> <a href="#l00222">poly.hpp:222</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_abf0092d4a0a8976a742ff76a68851054"><div class="ttname"><a href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054">entt::basic_poly::vtable_type</a></div><div class="ttdeci">typename poly_vtable< Concept, Len, Align >::type vtable_type</div><div class="ttdoc">Virtual table type.</div><div class="ttdef"><b>Definition</b> <a href="#l00200">poly.hpp:200</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_abf0092d4a0a8976a742ff76a68851054"><div class="ttname"><a href="classentt_1_1basic__poly.html#abf0092d4a0a8976a742ff76a68851054">entt::basic_poly< Concept >::vtable_type</a></div><div class="ttdeci">typename poly_vtable< Concept, Len, Align >::type vtable_type</div><div class="ttdef"><b>Definition</b> <a href="#l00200">poly.hpp:200</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_aee4305d651f7b2f5248eba2cbfea4f17"><div class="ttname"><a href="classentt_1_1basic__poly.html#aee4305d651f7b2f5248eba2cbfea4f17">entt::basic_poly::data</a></div><div class="ttdeci">const void * data() const noexcept</div><div class="ttdoc">Returns an opaque pointer to the contained instance.</div><div class="ttdef"><b>Definition</b> <a href="#l00237">poly.hpp:237</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__poly_html_af1ee3622b7b01d9934dd903f54846e44"><div class="ttname"><a href="classentt_1_1basic__poly.html#af1ee3622b7b01d9934dd903f54846e44">entt::basic_poly::basic_poly</a></div><div class="ttdeci">basic_poly() noexcept=default</div><div class="ttdoc">Default constructor.</div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_a4c540ff32bca204b1adbd9e4f4a0240b"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#a4c540ff32bca204b1adbd9e4f4a0240b">entt::basic_sparse_set::data</a></div><div class="ttdeci">pointer data() const noexcept</div><div class="ttdoc">Direct access to the internal packed array.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l00600">sparse_set.hpp:600</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__sparse__set_html_ae37830b84f2801670927b8ae881d72b7"><div class="ttname"><a href="classentt_1_1basic__sparse__set.html#ae37830b84f2801670927b8ae881d72b7">entt::basic_sparse_set::type</a></div><div class="ttdeci">const type_info & type() const noexcept</div><div class="ttdoc">Returned value type, if any.</div><div class="ttdef"><b>Definition</b> <a href="sparse__set_8hpp_source.html#l01047">sparse_set.hpp:1047</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1basic__storage_html"><div class="ttname"><a href="classentt_1_1basic__storage.html">entt::basic_storage</a></div><div class="ttdoc">Storage implementation.</div><div class="ttdef"><b>Definition</b> <a href="storage_8hpp_source.html#l00230">storage.hpp:230</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1poly__vtable_html"><div class="ttname"><a href="classentt_1_1poly__vtable.html">entt::poly_vtable</a></div><div class="ttdoc">Static virtual table factory.</div><div class="ttdef"><b>Definition</b> <a href="#l00047">poly.hpp:47</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1poly__vtable_html_a1114a981955e596da36603282cee2e4d"><div class="ttname"><a href="classentt_1_1poly__vtable.html#a1114a981955e596da36603282cee2e4d">entt::poly_vtable::type</a></div><div class="ttdeci">std::conditional_t< is_mono_v, std::tuple_element_t< 0u, vtable_type >, const vtable_type * > type</div><div class="ttdoc">Virtual table type.</div><div class="ttdef"><b>Definition</b> <a href="#l00104">poly.hpp:104</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1poly__vtable_html_a2b8979ab014f71105f54cb3c94aa983d"><div class="ttname"><a href="classentt_1_1poly__vtable.html#a2b8979ab014f71105f54cb3c94aa983d">entt::poly_vtable::instance</a></div><div class="ttdeci">static type instance() noexcept</div><div class="ttdoc">Returns a static virtual table for a specific concept and type.</div><div class="ttdef"><b>Definition</b> <a href="#l00112">poly.hpp:112</a></div></div>
|
||||
<div class="ttc" id="aclassentt_1_1poly__vtable_html_a8969ca93b53151ab8e922995f937afa1"><div class="ttname"><a href="classentt_1_1poly__vtable.html#a8969ca93b53151ab8e922995f937afa1">entt::poly_vtable::type</a></div><div class="ttdeci">std::conditional_t< is_mono, std::tuple_element_t< 0u, vtable_type >, const vtable_type * > type</div><div class="ttdoc">Virtual table type.</div><div class="ttdef"><b>Definition</b> <a href="#l00104">poly.hpp:104</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html"><div class="ttname"><a href="namespaceentt.html">entt</a></div><div class="ttdoc">EnTT default namespace.</div><div class="ttdef"><b>Definition</b> <a href="dense__map_8hpp_source.html#l00022">dense_map.hpp:22</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_a12e4d0c58f9c4cc6f5513c39c530b9b7"><div class="ttname"><a href="namespaceentt.html#a12e4d0c58f9c4cc6f5513c39c530b9b7">entt::make_obj_using_allocator</a></div><div class="ttdeci">constexpr Type make_obj_using_allocator(const Allocator &allocator, Args &&...args)</div><div class="ttdoc">Uses-allocator construction utility (waiting for C++20).</div><div class="ttdef"><b>Definition</b> <a href="memory_8hpp_source.html#l00219">memory.hpp:219</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_a13168ef82af733bfe584f34f29472d20"><div class="ttname"><a href="namespaceentt.html#a13168ef82af733bfe584f34f29472d20">entt::constness_as_t</a></div><div class="ttdeci">typename constness_as< To, From >::type constness_as_t</div><div class="ttdoc">Alias template to facilitate the transcription of the constness.</div><div class="ttdef"><b>Definition</b> <a href="core_2type__traits_8hpp_source.html#l00839">type_traits.hpp:839</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_a4ce71953bc9fb5283641465fb40025dc"><div class="ttname"><a href="namespaceentt.html#a4ce71953bc9fb5283641465fb40025dc">entt::any_cast</a></div><div class="ttdeci">std::remove_const_t< Type > any_cast(const basic_any< Len, Align > &data) noexcept</div><div class="ttdoc">Performs type-safe access to the contained object.</div><div class="ttdef"><b>Definition</b> <a href="any_8hpp_source.html#l00435">any.hpp:435</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_a13168ef82af733bfe584f34f29472d20"><div class="ttname"><a href="namespaceentt.html#a13168ef82af733bfe584f34f29472d20">entt::constness_as_t</a></div><div class="ttdeci">typename constness_as< To, From >::type constness_as_t</div><div class="ttdoc">Alias template to facilitate the transcription of the constness.</div><div class="ttdef"><b>Definition</b> <a href="core_2type__traits_8hpp_source.html#l00841">type_traits.hpp:841</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_a4ce71953bc9fb5283641465fb40025dc"><div class="ttname"><a href="namespaceentt.html#a4ce71953bc9fb5283641465fb40025dc">entt::any_cast</a></div><div class="ttdeci">std::remove_const_t< Type > any_cast(const basic_any< Len, Align > &data) noexcept</div><div class="ttdoc">Performs type-safe access to the contained object.</div><div class="ttdef"><b>Definition</b> <a href="any_8hpp_source.html#l00464">any.hpp:464</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_a8b4f2adf317a555138ef5c1cf45b034a"><div class="ttname"><a href="namespaceentt.html#a8b4f2adf317a555138ef5c1cf45b034a">entt::poly_call</a></div><div class="ttdeci">decltype(auto) poly_call(Poly &&self, Args &&...args)</div><div class="ttdoc">Shortcut for calling poly_base<Type>::invoke.</div><div class="ttdef"><b>Definition</b> <a href="#l00173">poly.hpp:173</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15"><div class="ttname"><a href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">entt::any_policy::ref</a></div><div class="ttdeci">@ ref</div><div class="ttdoc">Aliasing mode, the object points to a non-const element.</div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_ab6d2fe9024bafa328c5f4e4adbc96298"><div class="ttname"><a href="namespaceentt.html#ab6d2fe9024bafa328c5f4e4adbc96298">entt::poly</a></div><div class="ttdeci">basic_poly< Concept > poly</div><div class="ttdoc">Alias declaration for the most common use case.</div><div class="ttdef"><b>Definition</b> <a href="poly_2fwd_8hpp_source.html#l00017">fwd.hpp:17</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_ac25eea8903b4a5d58408cc2e9ecb1a2e"><div class="ttname"><a href="namespaceentt.html#ac25eea8903b4a5d58408cc2e9ecb1a2e">entt::invoke</a></div><div class="ttdeci">void invoke(Registry &reg, const typename Registry::entity_type entt)</div><div class="ttdoc">Helper to create a listener that directly invokes a member function.</div><div class="ttdef"><b>Definition</b> <a href="helper_8hpp_source.html#l00108">helper.hpp:108</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15"><div class="ttname"><a href="namespaceentt.html#add777bc22ff30abfbf52abd37d4e1549a18389a4a9ad5795744699cff0ba66c15">entt::any_policy::ref</a></div><div class="ttdeci">@ ref</div><div class="ttdoc">Aliasing mode, the object points to a non-const element.</div><div class="ttdef"><b>Definition</b> <a href="core_2fwd_8hpp_source.html#l00019">fwd.hpp:19</a></div></div>
|
||||
<div class="ttc" id="anamespaceentt_html_aff8fd99fc1ff2432dcb0f6b017a9c60e"><div class="ttname"><a href="namespaceentt.html#aff8fd99fc1ff2432dcb0f6b017a9c60e">entt::storage</a></div><div class="ttdeci">basic_storage< Type > storage</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#l00078">fwd.hpp:78</a></div></div>
|
||||
<div class="ttc" id="astructentt_1_1poly__base_html"><div class="ttname"><a href="structentt_1_1poly__base.html">entt::poly_base</a></div><div class="ttdoc">Poly base class used to inject functionalities into concepts.</div><div class="ttdef"><b>Definition</b> <a href="#l00129">poly.hpp:129</a></div></div>
|
||||
<div class="ttc" id="astructentt_1_1poly__base_html_a814fd041b02ddfe60577b23d174e7182"><div class="ttname"><a href="structentt_1_1poly__base.html#a814fd041b02ddfe60577b23d174e7182">entt::poly_base::invoke</a></div><div class="ttdeci">decltype(auto) invoke(const poly_base &self, Args &&...args) const</div><div class="ttdoc">Invokes a function from the static virtual table.</div><div class="ttdef"><b>Definition</b> <a href="#l00139">poly.hpp:139</a></div></div>
|
||||
<div class="ttc" id="astructentt_1_1poly__base_html_a8e782d45ce62d6bd620ad22a0ee913e2"><div class="ttname"><a href="structentt_1_1poly__base.html#a8e782d45ce62d6bd620ad22a0ee913e2">entt::poly_base::invoke</a></div><div class="ttdeci">decltype(auto) invoke(poly_base &self, Args &&...args)</div><div class="ttdoc">Invokes a function from the static virtual table.</div><div class="ttdef"><b>Definition</b> <a href="#l00151">poly.hpp:151</a></div></div>
|
||||
@@ -362,12 +368,13 @@ $(function() { codefold.init(0); });
|
||||
<div class="ttc" id="astructentt_1_1poly__inspector_html_a8539b30952dd5a66aa24f334ae4976de"><div class="ttname"><a href="structentt_1_1poly__inspector.html#a8539b30952dd5a66aa24f334ae4976de">entt::poly_inspector::invoke</a></div><div class="ttdeci">poly_inspector invoke(Args &&...args) const</div><div class="ttdoc">Dummy invocation function (definition only).</div></div>
|
||||
<div class="ttc" id="astructentt_1_1poly__inspector_html_ac829c393c3d78f306edd0307f71139cb"><div class="ttname"><a href="structentt_1_1poly__inspector.html#ac829c393c3d78f306edd0307f71139cb">entt::poly_inspector::invoke</a></div><div class="ttdeci">poly_inspector invoke(Args &&...args)</div><div class="ttdoc">Dummy invocation function (definition only).</div></div>
|
||||
<div class="ttc" id="astructentt_1_1type__info_html"><div class="ttname"><a href="structentt_1_1type__info.html">entt::type_info</a></div><div class="ttdoc">Implementation specific information about a type.</div><div class="ttdef"><b>Definition</b> <a href="type__info_8hpp_source.html#l00133">type_info.hpp:133</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 class="ttc" id="astructentt_1_1value__list_html"><div class="ttname"><a href="structentt_1_1value__list.html">entt::value_list</a></div><div class="ttdoc">A class to use to push around lists of constant values, nothing more.</div><div class="ttdef"><b>Definition</b> <a href="core_2type__traits_8hpp_source.html#l00364">type_traits.hpp:364</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#l00111">type_traits.hpp:111</a></div></div>
|
||||
<div class="ttc" id="astructentt_1_1value__list_html"><div class="ttname"><a href="structentt_1_1value__list.html">entt::value_list</a></div><div class="ttdoc">A class to use to push around lists of constant values, nothing more.</div><div class="ttdef"><b>Definition</b> <a href="core_2type__traits_8hpp_source.html#l00366">type_traits.hpp:366</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
|
||||
Generated by <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>
|
||||
|
||||
Reference in New Issue
Block a user