|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: test/tests/TmetaBasic.cpp Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('_tmeta_basic_8cpp_source.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="headertitle">
- <div class="title">TmetaBasic.cpp</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="_tmeta_basic_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="meta_8h.html">utl/meta/meta.h</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="gtest_8h.html">gtest/gtest.h</a>></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <type_traits></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html"> 24</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">using namespace </span><a class="code" href="namespaceutl.html">utl</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">using namespace </span>meta;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">/*</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * Types to behave like Fixtures</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> */</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// Test type_of fixture</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="struct_tmeta_basic_1_1_identity.html"> 32</a></span>  <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">struct </span><a class="code" href="struct_tmeta_basic_1_1_identity.html">Identity</a> {</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="struct_tmeta_basic_1_1_identity.html#a9ab7e06acd9e4e822d8b925fd7749b5e"> 33</a></span>  <span class="keyword">using</span> <a class="code" href="struct_tmeta_basic_1_1_identity.html#a9ab7e06acd9e4e822d8b925fd7749b5e">type</a> = T;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  };</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">/*</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> * Test integral constant</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> */</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec"> 39</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, IntegrealType) {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a><<a class="code" href="struct_tmeta_basic_1_1_identity.html">Identity<int></a>>>::value));</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval<nil_></a>>::value));</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a><<a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval<nil_></a>>>::value));</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a><<a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a><<a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval<nil_></a>>>>::value));</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a9366a9541a3c137f06a56bb0de5dea26"> 45</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, IntegrealConstant) {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#ad60242f998d1d236b7b9744b7b09c8f2">integral_<int, 42>::value_type</a>>::value));</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#ad60242f998d1d236b7b9744b7b09c8f2">integral_<int, 42>::type::value_type</a>>::value));</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, (<a class="code" href="namespaceutl_1_1meta.html#ad60242f998d1d236b7b9744b7b09c8f2">integral_<int, 0>::value_type</a>(42)));</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, (<a class="code" href="namespaceutl_1_1meta.html#ad60242f998d1d236b7b9744b7b09c8f2">integral_<int, 42></a>()));</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a76a07a924d058a3e5f60e1b40417348a"> 51</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, BasicTypes) {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">bool</span>, <a class="code" href="namespaceutl_1_1meta.html#a0bec5828d2df0edfb4bc084773a438f6">bool_<false>::value_type</a>>::value));</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, <a class="code" href="namespaceutl_1_1meta.html#a0bec5828d2df0edfb4bc084773a438f6">bool_<true>::value</a>);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<bool, false_::value_type>::value));</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">false</span>, false_::value);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<bool, true_::value_type>::value));</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, true_::value);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<int8_t, <a class="code" href="namespaceutl_1_1meta.html#aa0ca1890dde0298c4380f94582cc2186">int8_<0>::value_type</a>>::value));</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, <a class="code" href="namespaceutl_1_1meta.html#aa0ca1890dde0298c4380f94582cc2186">int8_<42>::value</a>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<uint8_t, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0>::value_type</a>>::value));</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42u, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<42u>::value</a>);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<int16_t, <a class="code" href="namespaceutl_1_1meta.html#a65bf025970a7ec0fd488c50a1b9c1038">int16_<0>::value_type</a>>::value));</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, <a class="code" href="namespaceutl_1_1meta.html#a65bf025970a7ec0fd488c50a1b9c1038">int16_<42>::value</a>);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<uint16_t, <a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0>::value_type</a>>::value));</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42u, <a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<42u>::value</a>);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<int32_t, <a class="code" href="namespaceutl_1_1meta.html#aa907f027fe3df2cecca2cf60930086fb">int32_<0>::value_type</a>>::value));</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, <a class="code" href="namespaceutl_1_1meta.html#aa907f027fe3df2cecca2cf60930086fb">int32_<42>::value</a>);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<uint32_t, <a class="code" href="namespaceutl_1_1meta.html#aa8c7c38548db8df196b683ffdc109cd6">uint32_<0>::value_type</a>>::value));</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42u, <a class="code" href="namespaceutl_1_1meta.html#aa8c7c38548db8df196b683ffdc109cd6">uint32_<42u>::value</a>);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">char</span>, <a class="code" href="namespaceutl_1_1meta.html#a0fe31eec9b085e52aa45587e6d887419">char_<0>::value_type</a>>::value));</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, <a class="code" href="namespaceutl_1_1meta.html#a0fe31eec9b085e52aa45587e6d887419">char_<42>::value</a>);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<0>::value_type</a>>::value));</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42>::value</a>);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">long</span>, <a class="code" href="namespaceutl_1_1meta.html#a5d3ed337c64ea13ee70891d09b0caa3e">long_<0>::value_type</a>>::value));</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42, <a class="code" href="namespaceutl_1_1meta.html#a5d3ed337c64ea13ee70891d09b0caa3e">long_<42>::value</a>);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl.html#a676c0acd539dd04048dcc7b4d698577e">index_t</a>, <a class="code" href="namespaceutl_1_1meta.html#a5b7d36b9e568b81f2df897d56dc23b64">index_<0>::value_type</a>>::value));</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42U, <a class="code" href="namespaceutl_1_1meta.html#a5b7d36b9e568b81f2df897d56dc23b64">index_<42U>::value</a>);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same<<span class="keywordtype">size_t</span>, <a class="code" href="namespaceutl_1_1meta.html#a249ac51f6613684164663bd22025fe9a">size_<0>::value_type</a>>::value));</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(42U, <a class="code" href="namespaceutl_1_1meta.html#a249ac51f6613684164663bd22025fe9a">size_<42U>::value</a>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">sizeof</span>(<span class="keywordtype">int</span>), <a class="code" href="namespaceutl_1_1meta.html#a3fdae1894a962a69828ccccf73088cce">sizeof_<int>::value</a>);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">alignof</span>(<span class="keywordtype">int</span>), <a class="code" href="namespaceutl_1_1meta.html#afacfb1fb855b9a9a0c8a2a625a2a9bd2">alignof_<int>::value</a>);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(static_cast<index_t>(-1), Npos::value);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">/*</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> * Test integral constant selection operations</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"> */</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#aa66e8f02bed5fa0b5a84c70f80c29b98"> 92</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, Selection) {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">struct </span>Foo {};</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">struct </span>Bar {};</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="group__type.html#gaa3812817ce749832da73fdf5d2a85380">if_c</a><<span class="keyword">true</span>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>>>()));</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<Foo, <a class="code" href="group__type.html#gaa3812817ce749832da73fdf5d2a85380">if_c</a><<span class="keyword">false</span>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, Foo>>()));</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<Foo, <a class="code" href="group__type.html#gaa3812817ce749832da73fdf5d2a85380">if_c<42, Foo, Bar></a>>()));</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="group__type.html#ga39cc4e727a8faa5ea176f543e62c05c0">if_</a><<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, Bar>>()));</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<Bar, <a class="code" href="group__type.html#ga39cc4e727a8faa5ea176f543e62c05c0">if_</a><<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, Bar>>()));</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="group__type.html#ga39cc4e727a8faa5ea176f543e62c05c0">if_</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, Bar>>()));</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<Foo, <a class="code" href="group__type.html#ga39cc4e727a8faa5ea176f543e62c05c0">if_</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<0></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, Foo>>()));</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__type.html#gaf7089523d21cd405c76985643f31092a">first_of<true_, false_></a>>()));</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>,(std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__type.html#gaf7089523d21cd405c76985643f31092a">first_of<false_, true_></a>>()));</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>,(std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__type.html#ga422dd1b0895f0074ad9932d68d9edbc5">second_of<true_, false_></a>>()));</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__type.html#ga422dd1b0895f0074ad9932d68d9edbc5">second_of<false_, true_></a>>()));</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a8ee52197913571c983d610af12a1a664"> 112</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, LogicalOperations) {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">struct </span>Foo {};</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">struct </span>Bar {};</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<false></a>>::value));</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<true></a>>::value));</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<1></a>>::value));</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<0></a>>::value));</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_<false_></a>>()));</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_<true_></a>>()));</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<0></a>>>()));</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>>>()));</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_</a><<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<true></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<0></a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_<true_></a>>>()));</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_<></a>>()));</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>,<a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>>>()));</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_<true_></a>>()));</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_<false_, true_></a>>()));</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_<false_, false_, true_></a>>()));</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>,<a class="code" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">or_</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<0></a>, <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_<true_></a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<true></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>>>()));</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_</a><<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<1></a>, <a class="code" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">not_<false_></a>, <a class="code" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">not_c<false></a>>>()));</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<></a>>()));</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<true_></a>>()));</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<false_></a>>()));</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<true_, true_></a>>()));</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<true_, false_></a>>()));</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<true_, true_, true_></a>>()));</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same<<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">and_<true_, true_, false_></a>>()));</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="structutl_1_1meta_1_1same__.html">same_<Foo, Foo></a>()));</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="structutl_1_1meta_1_1same__.html">same_<Foo, Bar></a>()));</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="group__integral.html#ga4dfaf054d891eb35d741662b077bbbd2">not_same_<Foo, Bar></a>()));</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">/*</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> * Test integral constant arithmetic operations</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> */</span></div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#aabef072b3cd9e8f59bd696590b1b5dfd"> 152</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, ArithmeticOperations) {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), <a class="code" href="namespaceutl_1_1meta.html#af74f5af58b33241f1b94102742a73ab1">inc</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<41></a>>());</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), <a class="code" href="namespaceutl_1_1meta.html#abee96e75aadb364fdd0890aa3ee490b7">dec</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<43></a>>());</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), (<a class="code" href="namespaceutl_1_1meta.html#a559ad95ef39fd2c81664bd1a22dd99c1">add</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<23></a>, <a class="code" href="namespaceutl_1_1meta.html#a559ad95ef39fd2c81664bd1a22dd99c1">add</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<17></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<2></a>>>()));</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), (<a class="code" href="namespaceutl_1_1meta.html#a9f90eea3852367afa4e1fe74756976fb">sub</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<108></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<66></a>>()));</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), (<a class="code" href="namespaceutl_1_1meta.html#a5f0a890cbd116d4a72a760a26f5a8244">mult</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>, <a class="code" href="namespaceutl_1_1meta.html#a5f0a890cbd116d4a72a760a26f5a8244">mult</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<3></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<2></a>>>()));</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), (<a class="code" href="namespaceutl_1_1meta.html#ae1ec6fc1f76abbb2e5287aa91cd85068">divide</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<210></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<5></a>>()));</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>(), <a class="code" href="namespaceutl_1_1meta.html#aec4bf9329ff8356d333a59e3c369d0b7">negate</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-42></a>>());</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_< 1></a>(), (<a class="code" href="namespaceutl_1_1meta.html#adf7106374b1acc978be05b5848002cfc">modulo</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<43></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="comment">/*</span></div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> * Test integral constant comparison operations</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> */</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a3ba38c6705e4f363cf52f330afedfdb6"> 166</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, ComparisonOperations) {</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a7ae2d08147055946f1b9345e579a26b6">comp_eq</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>>()));</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a7ae2d08147055946f1b9345e579a26b6">comp_eq</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>>()));</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#a7ae2d08147055946f1b9345e579a26b6">comp_eq</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>>()));</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#af92bee16de47b16ba01a8efac686b488">comp_ne</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>>()));</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#af92bee16de47b16ba01a8efac686b488">comp_ne</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#af92bee16de47b16ba01a8efac686b488">comp_ne</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-42></a>>()));</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a1a948746d1758a05c0ae71cfd114b05d">comp_lt</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<43></a>>()));</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a1a948746d1758a05c0ae71cfd114b05d">comp_lt</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-5></a>>()));</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#a1a948746d1758a05c0ae71cfd114b05d">comp_lt</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<43></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a3c4784ad3eb1f745c58b9a4b65a406e8">comp_gt</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>>()));</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a3c4784ad3eb1f745c58b9a4b65a406e8">comp_gt</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-42></a>>()));</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#a3c4784ad3eb1f745c58b9a4b65a406e8">comp_gt</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">comp_le</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">comp_le</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">comp_le</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">comp_le</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>>()));</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">comp_le</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>>()));</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">comp_le</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-42></a>>()));</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">comp_ge</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<7></a>>()));</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">comp_ge</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>>()));</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">comp_ge</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">comp_ge</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>>()));</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">comp_ge</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<43></a>>()));</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>, (<a class="code" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">comp_ge</a><<a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<-7></a>, <a class="code" href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">int_<42></a>>()));</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="comment">/*</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * Test integral constant bit operations</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> */</span></div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#ae75afce18d82aad495ef6b9f7d5c0470"> 201</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, BitOperations) {</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x00, (<a class="code" href="namespaceutl_1_1meta.html#aca6b42898b47945118c518bde9d25cc2">bitand_</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x55></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0xAA></a>>()));</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0xFF, (<a class="code" href="namespaceutl_1_1meta.html#a1e2c2decdd22972fc8ce43203c0ef0d1">bitor_</a> <<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x55></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0xAA></a>>()));</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0xFA, (<a class="code" href="namespaceutl_1_1meta.html#a910e21345bc7e75dc7c0ceb4a4721754">bitxor_</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x55></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0xAF></a>>()));</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x00, (<a class="code" href="namespaceutl_1_1meta.html#a9ea199752ca985d1b813d7127868566c">bitnot_</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<-1></a>>()));</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x0000, (<a class="code" href="namespaceutl_1_1meta.html#aca6b42898b47945118c518bde9d25cc2">bitand_</a><<a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0x5555></a>, <a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0xAAAA></a>>()));</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0xFFFF, (<a class="code" href="namespaceutl_1_1meta.html#a1e2c2decdd22972fc8ce43203c0ef0d1">bitor_</a> <<a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0x5555></a>, <a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0xAAAA></a>>()));</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0xFFAA, (<a class="code" href="namespaceutl_1_1meta.html#a910e21345bc7e75dc7c0ceb4a4721754">bitxor_</a><<a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0x5555></a>, <a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<0xAAFF></a>>()));</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x0000, (<a class="code" href="namespaceutl_1_1meta.html#a9ea199752ca985d1b813d7127868566c">bitnot_</a><<a class="code" href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">uint16_<-1></a>>()));</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x04, (<a class="code" href="namespaceutl_1_1meta.html#a63088c29ac25eefda4189721e662b391">shift_left</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x01></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<2></a>>()));</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x00, (<a class="code" href="namespaceutl_1_1meta.html#a63088c29ac25eefda4189721e662b391">shift_left</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x80></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<1></a>>()));</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x02, (<a class="code" href="namespaceutl_1_1meta.html#acbe6dd78c4a4230e92acc5ca86e3fcc7">shift_right</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x08></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<2></a>>()));</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0x00, (<a class="code" href="namespaceutl_1_1meta.html#acbe6dd78c4a4230e92acc5ca86e3fcc7">shift_right</a><<a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<0x01></a>, <a class="code" href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">uint8_<1></a>>()));</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  }</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="comment">/*</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> * SFINAE</span></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment"> */</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  template <typename T, typename =when<same_<T, int>::type::value>></div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49"> 222</a></span>  <span class="keywordtype">int</span> <a class="code" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">check1</a> (T x) { <span class="keywordflow">return</span> x; }</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a8fd829e39bf3d2429d66205a392a458f"> 223</a></span>  <span class="keywordtype">int</span> <a class="code" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">check1</a> (...) { <span class="keywordflow">return</span> 0; }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  template <typename T, typename =enable_if_t<same_<T, int>::type::value, <span class="keywordtype">void</span>>></div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe"> 226</a></span>  <span class="keywordtype">int</span> <a class="code" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">check2</a> (T x) { <span class="keywordflow">return</span> x; }</div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a691f22848ac59a710a5a588e25b79bdf"> 227</a></span>  <span class="keywordtype">int</span> <a class="code" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">check2</a> (...) { <span class="keywordflow">return</span> 0; }</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="namespace_tmeta_basic.html#a5662c8ed09164d9e4ffbcc3931580eb9"> 229</a></span>  <a class="code" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TEST</a>(<a class="code" href="namespace_tmeta_basic.html">TmetaBasic</a>, Sfinae) {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (42, <a class="code" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">check1</a>(42));</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0, <a class="code" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">check1</a>(42.0));</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0, <a class="code" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">check1</a>());</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (42, <a class="code" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">check2</a>(42));</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0, <a class="code" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">check2</a>(42.0));</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (0, <a class="code" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">check2</a>());</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  }</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div><div class="ttc" id="group__type_html_gaf7089523d21cd405c76985643f31092a"><div class="ttname"><a href="group__type.html#gaf7089523d21cd405c76985643f31092a">utl::meta::first_of</a></div><div class="ttdeci">T1 first_of</div><div class="ttdoc">Select the first type of a type sequence. </div><div class="ttdef"><b>Definition:</b> <a href="selection_8h_source.html#l00076">selection.h:76</a></div></div>
- <div class="ttc" id="meta_8h_html"><div class="ttname"><a href="meta_8h.html">meta.h</a></div><div class="ttdoc">Include all meta library. </div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aae9c77ad9349e98af6cdc41e9b0090f8"><div class="ttname"><a href="namespaceutl_1_1meta.html#aae9c77ad9349e98af6cdc41e9b0090f8">utl::meta::uint8_</a></div><div class="ttdeci">integral_< uint8_t, v > uint8_</div><div class="ttdoc">uint8_ type: integral constant wrapper for uint8_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00076">integral.h:76</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a7ae2d08147055946f1b9345e579a26b6"><div class="ttname"><a href="namespaceutl_1_1meta.html#a7ae2d08147055946f1b9345e579a26b6">utl::meta::comp_eq</a></div><div class="ttdeci">bool_< _Tp1()==_Tp2()> comp_eq</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00184">operations.h:184</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_acbe6dd78c4a4230e92acc5ca86e3fcc7"><div class="ttname"><a href="namespaceutl_1_1meta.html#acbe6dd78c4a4230e92acc5ca86e3fcc7">utl::meta::shift_right</a></div><div class="ttdeci">integral_< typename _Tp::value_type,(typename _Tp::value_type)(_Tp() > > shift())> shift_right</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00221">operations.h:221</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_af92bee16de47b16ba01a8efac686b488"><div class="ttname"><a href="namespaceutl_1_1meta.html#af92bee16de47b16ba01a8efac686b488">utl::meta::comp_ne</a></div><div class="ttdeci">not_< comp_eq< _Tp1, _Tp2 > > comp_ne</div><div class="ttdoc">Not equal. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00189">operations.h:189</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aa0ca1890dde0298c4380f94582cc2186"><div class="ttname"><a href="namespaceutl_1_1meta.html#aa0ca1890dde0298c4380f94582cc2186">utl::meta::int8_</a></div><div class="ttdeci">integral_< int8_t, v > int8_</div><div class="ttdoc">int8_ type: integral constant wrapper for int8_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00073">integral.h:73</a></div></div>
- <div class="ttc" id="group__type_html_ga39cc4e727a8faa5ea176f543e62c05c0"><div class="ttname"><a href="group__type.html#ga39cc4e727a8faa5ea176f543e62c05c0">utl::meta::if_</a></div><div class="ttdeci">if_c< If::type::value, Args... > if_</div><div class="ttdoc">Select one type or another depending on a compile-time Boolean type. </div><div class="ttdef"><b>Definition:</b> <a href="selection_8h_source.html#l00066">selection.h:66</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aca6b42898b47945118c518bde9d25cc2"><div class="ttname"><a href="namespaceutl_1_1meta.html#aca6b42898b47945118c518bde9d25cc2">utl::meta::bitand_</a></div><div class="ttdeci">integral_< decltype(_Tp1() &_Tp2()), _Tp1() &_Tp2()> bitand_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00208">operations.h:208</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aec4bf9329ff8356d333a59e3c369d0b7"><div class="ttname"><a href="namespaceutl_1_1meta.html#aec4bf9329ff8356d333a59e3c369d0b7">utl::meta::negate</a></div><div class="ttdeci">integral_< decltype(-_Tp()), -_Tp()> negate</div><div class="ttdoc">Negation. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00138">operations.h:138</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a9f90eea3852367afa4e1fe74756976fb"><div class="ttname"><a href="namespaceutl_1_1meta.html#a9f90eea3852367afa4e1fe74756976fb">utl::meta::sub</a></div><div class="ttdeci">add< _Tp1, negate< _Tp2 > > sub</div><div class="ttdoc">Substruction. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00165">operations.h:165</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a5f0a890cbd116d4a72a760a26f5a8244"><div class="ttname"><a href="namespaceutl_1_1meta.html#a5f0a890cbd116d4a72a760a26f5a8244">utl::meta::mult</a></div><div class="ttdeci">integral_< decltype(_Tp2() *_Tp2()), _Tp1() *_Tp2() > mult</div><div class="ttdoc">Multiplication. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00150">operations.h:150</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_ae9a5a8fbe8202785f059935af219fb97"><div class="ttname"><a href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">utl::meta::true_</a></div><div class="ttdeci">bool_< true > true_</div><div class="ttdoc">The type used as a compile-time boolean with true value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00068">integral.h:68</a></div></div>
- <div class="ttc" id="group__type_html_gaa3812817ce749832da73fdf5d2a85380"><div class="ttname"><a href="group__type.html#gaa3812817ce749832da73fdf5d2a85380">utl::meta::if_c</a></div><div class="ttdeci">eval< detail::if_c_< B, Args... > > if_c</div><div class="ttdoc">Select one type or another depending on a compile-time Boolean. </div><div class="ttdef"><b>Definition:</b> <a href="selection_8h_source.html#l00062">selection.h:62</a></div></div>
- <div class="ttc" id="namespace_tmeta_basic_html_adbcfd80fbcc5a0fa1a132ea56c18e7ec"><div class="ttname"><a href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TmetaBasic::TEST</a></div><div class="ttdeci">TEST(TmetaBasic, IntegrealType)</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_basic_8cpp_source.html#l00039">TmetaBasic.cpp:39</a></div></div>
- <div class="ttc" id="group__type_html_ga422dd1b0895f0074ad9932d68d9edbc5"><div class="ttname"><a href="group__type.html#ga422dd1b0895f0074ad9932d68d9edbc5">utl::meta::second_of</a></div><div class="ttdeci">T2 second_of</div><div class="ttdoc">Select the second type of a type sequence. </div><div class="ttdef"><b>Definition:</b> <a href="selection_8h_source.html#l00079">selection.h:79</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a1a948746d1758a05c0ae71cfd114b05d"><div class="ttname"><a href="namespaceutl_1_1meta.html#a1a948746d1758a05c0ae71cfd114b05d">utl::meta::comp_lt</a></div><div class="ttdeci">bool_<(_Tp1()< _Tp2())> comp_lt</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00186">operations.h:186</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a249ac51f6613684164663bd22025fe9a"><div class="ttname"><a href="namespaceutl_1_1meta.html#a249ac51f6613684164663bd22025fe9a">utl::meta::size_</a></div><div class="ttdeci">integral_< size_t, v > size_</div><div class="ttdoc">size_ type: integral constant wrapper for size_t a.k.a std::size_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00110">integral.h:110</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a1e2c2decdd22972fc8ce43203c0ef0d1"><div class="ttname"><a href="namespaceutl_1_1meta.html#a1e2c2decdd22972fc8ce43203c0ef0d1">utl::meta::bitor_</a></div><div class="ttdeci">integral_< decltype(_Tp1()|_Tp2()), _Tp1()|_Tp2()> bitor_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00211">operations.h:211</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a9ea199752ca985d1b813d7127868566c"><div class="ttname"><a href="namespaceutl_1_1meta.html#a9ea199752ca985d1b813d7127868566c">utl::meta::bitnot_</a></div><div class="ttdeci">integral_< typename _T::value_type,(typename _T::value_type)(~_T())> bitnot_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00205">operations.h:205</a></div></div>
- <div class="ttc" id="gtest_8h_html"><div class="ttname"><a href="gtest_8h.html">gtest.h</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a5d3ed337c64ea13ee70891d09b0caa3e"><div class="ttname"><a href="namespaceutl_1_1meta.html#a5d3ed337c64ea13ee70891d09b0caa3e">utl::meta::long_</a></div><div class="ttdeci">integral_< long, v > long_</div><div class="ttdoc">long_ type: integral constant wrapper for long </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00102">integral.h:102</a></div></div>
- <div class="ttc" id="structutl_1_1meta_1_1nil___html"><div class="ttname"><a href="structutl_1_1meta_1_1nil__.html">utl::meta::nil_</a></div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00043">integral.h:43</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_ad60242f998d1d236b7b9744b7b09c8f2"><div class="ttname"><a href="namespaceutl_1_1meta.html#ad60242f998d1d236b7b9744b7b09c8f2">utl::meta::integral_</a></div><div class="ttdeci">std::integral_constant< Tp, v > integral_</div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00058">integral.h:58</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_adf7106374b1acc978be05b5848002cfc"><div class="ttname"><a href="namespaceutl_1_1meta.html#adf7106374b1acc978be05b5848002cfc">utl::meta::modulo</a></div><div class="ttdeci">integral_< decltype(_Tp1() % _Tp2()), _Tp1() % _Tp2() > modulo</div><div class="ttdoc">Modulo. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00162">operations.h:162</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a3c4784ad3eb1f745c58b9a4b65a406e8"><div class="ttname"><a href="namespaceutl_1_1meta.html#a3c4784ad3eb1f745c58b9a4b65a406e8">utl::meta::comp_gt</a></div><div class="ttdeci">comp_lt< _Tp2, _Tp1 > comp_gt</div><div class="ttdoc">Greater than. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00191">operations.h:191</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a63088c29ac25eefda4189721e662b391"><div class="ttname"><a href="namespaceutl_1_1meta.html#a63088c29ac25eefda4189721e662b391">utl::meta::shift_left</a></div><div class="ttdeci">integral_< typename _Tp::value_type,(typename _Tp::value_type)(_Tp()<< shift())> shift_left</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00218">operations.h:218</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a35b962b97f8277de66c1c8c02796eed4"><div class="ttname"><a href="namespaceutl_1_1meta.html#a35b962b97f8277de66c1c8c02796eed4">utl::meta::int_</a></div><div class="ttdeci">integral_< int, v > int_</div><div class="ttdoc">int_ type: integral constant wrapper for int </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00098">integral.h:98</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a55511dbaa0adb605ce22dcec11f8d22d"><div class="ttname"><a href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">utl::meta::false_</a></div><div class="ttdeci">bool_< false > false_</div><div class="ttdoc">The type used as a compile-time boolean with false value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00069">integral.h:69</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a559ad95ef39fd2c81664bd1a22dd99c1"><div class="ttname"><a href="namespaceutl_1_1meta.html#a559ad95ef39fd2c81664bd1a22dd99c1">utl::meta::add</a></div><div class="ttdeci">integral_< decltype(_Tp1()+_Tp2()), _Tp1()+_Tp2() > add</div><div class="ttdoc">Addition. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00144">operations.h:144</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aa5a37adba244ff4286f994111c4c02ea"><div class="ttname"><a href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">utl::meta::eval</a></div><div class="ttdeci">typename Tp::type eval</div><div class="ttdoc">Type alias for Tp::type. Used to evaluate/extract return type of metafunctions. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00049">integral.h:49</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a0fe31eec9b085e52aa45587e6d887419"><div class="ttname"><a href="namespaceutl_1_1meta.html#a0fe31eec9b085e52aa45587e6d887419">utl::meta::char_</a></div><div class="ttdeci">integral_< char, v > char_</div><div class="ttdoc">char_ type: integral constant wrapper for char </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00094">integral.h:94</a></div></div>
- <div class="ttc" id="group__integral_html_ga7de987520bd0973f03ff8bab3152361a"><div class="ttname"><a href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">utl::meta::not_c</a></div><div class="ttdeci">bool_<!B > not_c</div><div class="ttdoc">Negate the bool constant parameter. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00043">operations.h:43</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_af1b0b8109e3e61032c24d148202b6966"><div class="ttname"><a href="namespaceutl_1_1meta.html#af1b0b8109e3e61032c24d148202b6966">utl::meta::uint16_</a></div><div class="ttdeci">integral_< uint16_t, v > uint16_</div><div class="ttdoc">uint16_ type: integral constant wrapper for uint16_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00083">integral.h:83</a></div></div>
- <div class="ttc" id="namespaceutl_html"><div class="ttname"><a href="namespaceutl.html">utl</a></div><div class="ttdoc">STL&#39;s core language concepts. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00030">_1wire.h:30</a></div></div>
- <div class="ttc" id="structutl_1_1meta_1_1same___html"><div class="ttname"><a href="structutl_1_1meta_1_1same__.html">utl::meta::same_</a></div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00102">operations.h:102</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a910e21345bc7e75dc7c0ceb4a4721754"><div class="ttname"><a href="namespaceutl_1_1meta.html#a910e21345bc7e75dc7c0ceb4a4721754">utl::meta::bitxor_</a></div><div class="ttdeci">integral_< decltype(_Tp1() ^ _Tp2()), _Tp1() ^ _Tp2()> bitxor_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00215">operations.h:215</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a5b7d36b9e568b81f2df897d56dc23b64"><div class="ttname"><a href="namespaceutl_1_1meta.html#a5b7d36b9e568b81f2df897d56dc23b64">utl::meta::index_</a></div><div class="ttdeci">integral_< index_t, v > index_</div><div class="ttdoc">index_ type: integral constant wrapper for index_t a.k.a std::size_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00106">integral.h:106</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_afacfb1fb855b9a9a0c8a2a625a2a9bd2"><div class="ttname"><a href="namespaceutl_1_1meta.html#afacfb1fb855b9a9a0c8a2a625a2a9bd2">utl::meta::alignof_</a></div><div class="ttdeci">size_< alignof(Tp)> alignof_</div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00120">integral.h:120</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_abee96e75aadb364fdd0890aa3ee490b7"><div class="ttname"><a href="namespaceutl_1_1meta.html#abee96e75aadb364fdd0890aa3ee490b7">utl::meta::dec</a></div><div class="ttdeci">add< _Tp, int_<-1 > > dec</div><div class="ttdoc">decrease </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00173">operations.h:173</a></div></div>
- <div class="ttc" id="namespace_tmeta_basic_html_ace6bcbc9c530fa498900e5fbcf6e7f49"><div class="ttname"><a href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">TmetaBasic::check1</a></div><div class="ttdeci">int check1(T x)</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_basic_8cpp_source.html#l00222">TmetaBasic.cpp:222</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_ae6c552e8e99ac5578f865f17c1d0efdc"><div class="ttname"><a href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">utl::meta::comp_ge</a></div><div class="ttdeci">not_< comp_lt< _Tp1, _Tp2 > > comp_ge</div><div class="ttdoc">Greater or equal. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00195">operations.h:195</a></div></div>
- <div class="ttc" id="struct_tmeta_basic_1_1_identity_html_a9ab7e06acd9e4e822d8b925fd7749b5e"><div class="ttname"><a href="struct_tmeta_basic_1_1_identity.html#a9ab7e06acd9e4e822d8b925fd7749b5e">TmetaBasic::Identity::type</a></div><div class="ttdeci">T type</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_basic_8cpp_source.html#l00033">TmetaBasic.cpp:33</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a0bec5828d2df0edfb4bc084773a438f6"><div class="ttname"><a href="namespaceutl_1_1meta.html#a0bec5828d2df0edfb4bc084773a438f6">utl::meta::bool_</a></div><div class="ttdeci">integral_< bool, v > bool_</div><div class="ttdoc">bool_ type: integral constant wrapper for bool </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00066">integral.h:66</a></div></div>
- <div class="ttc" id="namespaceutl_html_a676c0acd539dd04048dcc7b4d698577e"><div class="ttname"><a href="namespaceutl.html#a676c0acd539dd04048dcc7b4d698577e">utl::index_t</a></div><div class="ttdeci">size_t index_t</div><div class="ttdoc">index_t and size_t mend to be interchangeable </div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00038">types.h:38</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_ae1ec6fc1f76abbb2e5287aa91cd85068"><div class="ttname"><a href="namespaceutl_1_1meta.html#ae1ec6fc1f76abbb2e5287aa91cd85068">utl::meta::divide</a></div><div class="ttdeci">integral_< decltype(_Tp2()/_Tp2()), _Tp1()/_Tp2() > divide</div><div class="ttdoc">Division. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00156">operations.h:156</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aa907f027fe3df2cecca2cf60930086fb"><div class="ttname"><a href="namespaceutl_1_1meta.html#aa907f027fe3df2cecca2cf60930086fb">utl::meta::int32_</a></div><div class="ttdeci">integral_< int32_t, v > int32_</div><div class="ttdoc">int32_ type: integral constant wrapper for int32_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00087">integral.h:87</a></div></div>
- <div class="ttc" id="namespace_tmeta_basic_html_a693588cb4aefc8048c1bc4fb414fa5fe"><div class="ttname"><a href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">TmetaBasic::check2</a></div><div class="ttdeci">int check2(T x)</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_basic_8cpp_source.html#l00226">TmetaBasic.cpp:226</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a3fdae1894a962a69828ccccf73088cce"><div class="ttname"><a href="namespaceutl_1_1meta.html#a3fdae1894a962a69828ccccf73088cce">utl::meta::sizeof_</a></div><div class="ttdeci">size_< sizeof(Tp)> sizeof_</div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00115">integral.h:115</a></div></div>
- <div class="ttc" id="gtest_8h_html_a4159019abda84f5366acdb7604ff220a"><div class="ttname"><a href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a></div><div class="ttdeci">#define EXPECT_EQ(val1, val2)</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l16643">gtest.h:16643</a></div></div>
- <div class="ttc" id="group__integral_html_ga4dfaf054d891eb35d741662b077bbbd2"><div class="ttname"><a href="group__integral.html#ga4dfaf054d891eb35d741662b077bbbd2">utl::meta::not_same_</a></div><div class="ttdeci">not_< eval< same_< _T1, _T2 > >> not_same_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00111">operations.h:111</a></div></div>
- <div class="ttc" id="group__integral_html_gac43f400cc93d54f5f79892e618069d9b"><div class="ttname"><a href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">utl::meta::or_</a></div><div class="ttdeci">eval< detail::_or_< _Ts... > > or_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00070">operations.h:70</a></div></div>
- <div class="ttc" id="group__integral_html_ga16df145331d3c62e624385c5949d90c4"><div class="ttname"><a href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">utl::meta::not_</a></div><div class="ttdeci">not_c< _Tp::type::value > not_</div><div class="ttdoc">not </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00047">operations.h:47</a></div></div>
- <div class="ttc" id="group__integral_html_ga8e82f4758321e0e0b3705607f7d8e068"><div class="ttname"><a href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">utl::meta::and_</a></div><div class="ttdeci">eval< detail::_and_< _Ts... > > and_</div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00096">operations.h:96</a></div></div>
- <div class="ttc" id="namespace_tmeta_basic_html"><div class="ttname"><a href="namespace_tmeta_basic.html">TmetaBasic</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_basic_8cpp_source.html#l00024">TmetaBasic.cpp:24</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_aa8c7c38548db8df196b683ffdc109cd6"><div class="ttname"><a href="namespaceutl_1_1meta.html#aa8c7c38548db8df196b683ffdc109cd6">utl::meta::uint32_</a></div><div class="ttdeci">integral_< uint32_t, v > uint32_</div><div class="ttdoc">uint32_ type: integral constant wrapper for uint32_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00090">integral.h:90</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a65bf025970a7ec0fd488c50a1b9c1038"><div class="ttname"><a href="namespaceutl_1_1meta.html#a65bf025970a7ec0fd488c50a1b9c1038">utl::meta::int16_</a></div><div class="ttdeci">integral_< int16_t, v > int16_</div><div class="ttdoc">int16_ type: integral constant wrapper for int16_t </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00080">integral.h:80</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_afb9a35dc5ef40b5bf9902c0daec7f1af"><div class="ttname"><a href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">utl::meta::comp_le</a></div><div class="ttdeci">not_< comp_lt< _Tp2, _Tp1 > > comp_le</div><div class="ttdoc">Less or equal. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00193">operations.h:193</a></div></div>
- <div class="ttc" id="struct_tmeta_basic_1_1_identity_html"><div class="ttname"><a href="struct_tmeta_basic_1_1_identity.html">TmetaBasic::Identity</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_basic_8cpp_source.html#l00032">TmetaBasic.cpp:32</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_af74f5af58b33241f1b94102742a73ab1"><div class="ttname"><a href="namespaceutl_1_1meta.html#af74f5af58b33241f1b94102742a73ab1">utl::meta::inc</a></div><div class="ttdeci">add< _Tp, int_< 1 > > inc</div><div class="ttdoc">Increase. </div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00169">operations.h:169</a></div></div>
- </div><!-- fragment --></div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="dir_d84abbe486a7f5f39e3c9088ffc1760a.html">tests</a></li><li class="navelem"><a class="el" href="_tmeta_basic_8cpp.html">TmetaBasic.cpp</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|