Micro template library A library for building device drivers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_tmeta_basic_8cpp.html 12 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: test/tests/TmetaBasic.cpp File Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('_tmeta_basic_8cpp.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#nested-classes">Classes</a> &#124;
  89. <a href="#namespaces">Namespaces</a> &#124;
  90. <a href="#func-members">Functions</a> </div>
  91. <div class="headertitle">
  92. <div class="title">TmetaBasic.cpp File Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <div class="textblock"><code>#include &lt;<a class="el" href="meta_8h_source.html">utl/meta/meta.h</a>&gt;</code><br />
  96. <code>#include &lt;<a class="el" href="gtest_8h_source.html">gtest/gtest.h</a>&gt;</code><br />
  97. <code>#include &lt;type_traits&gt;</code><br />
  98. </div>
  99. <p><a href="_tmeta_basic_8cpp_source.html">Go to the source code of this file.</a></p>
  100. <table class="memberdecls">
  101. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  102. Classes</h2></td></tr>
  103. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tmeta_basic_1_1_identity.html">TmetaBasic::Identity&lt; T &gt;</a></td></tr>
  104. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. </table><table class="memberdecls">
  106. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
  107. Namespaces</h2></td></tr>
  108. <tr class="memitem:namespace_tmeta_basic"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html">TmetaBasic</a></td></tr>
  109. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table><table class="memberdecls">
  111. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  112. Functions</h2></td></tr>
  113. <tr class="memitem:adbcfd80fbcc5a0fa1a132ea56c18e7ec"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#adbcfd80fbcc5a0fa1a132ea56c18e7ec">TmetaBasic::TEST</a> (TmetaBasic, IntegrealType)</td></tr>
  114. <tr class="separator:adbcfd80fbcc5a0fa1a132ea56c18e7ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a9366a9541a3c137f06a56bb0de5dea26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a9366a9541a3c137f06a56bb0de5dea26">TmetaBasic::TEST</a> (TmetaBasic, IntegrealConstant)</td></tr>
  116. <tr class="separator:a9366a9541a3c137f06a56bb0de5dea26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a76a07a924d058a3e5f60e1b40417348a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a76a07a924d058a3e5f60e1b40417348a">TmetaBasic::TEST</a> (TmetaBasic, BasicTypes)</td></tr>
  118. <tr class="separator:a76a07a924d058a3e5f60e1b40417348a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:aa66e8f02bed5fa0b5a84c70f80c29b98"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#aa66e8f02bed5fa0b5a84c70f80c29b98">TmetaBasic::TEST</a> (TmetaBasic, Selection)</td></tr>
  120. <tr class="separator:aa66e8f02bed5fa0b5a84c70f80c29b98"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a8ee52197913571c983d610af12a1a664"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a8ee52197913571c983d610af12a1a664">TmetaBasic::TEST</a> (TmetaBasic, LogicalOperations)</td></tr>
  122. <tr class="separator:a8ee52197913571c983d610af12a1a664"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:aabef072b3cd9e8f59bd696590b1b5dfd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#aabef072b3cd9e8f59bd696590b1b5dfd">TmetaBasic::TEST</a> (TmetaBasic, ArithmeticOperations)</td></tr>
  124. <tr class="separator:aabef072b3cd9e8f59bd696590b1b5dfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a3ba38c6705e4f363cf52f330afedfdb6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a3ba38c6705e4f363cf52f330afedfdb6">TmetaBasic::TEST</a> (TmetaBasic, ComparisonOperations)</td></tr>
  126. <tr class="separator:a3ba38c6705e4f363cf52f330afedfdb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ae75afce18d82aad495ef6b9f7d5c0470"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#ae75afce18d82aad495ef6b9f7d5c0470">TmetaBasic::TEST</a> (TmetaBasic, BitOperations)</td></tr>
  128. <tr class="separator:ae75afce18d82aad495ef6b9f7d5c0470"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:ace6bcbc9c530fa498900e5fbcf6e7f49"><td class="memTemplParams" colspan="2">template&lt;typename T , typename = when&lt;same_&lt;T, int&gt;::type::value&gt;&gt; </td></tr>
  130. <tr class="memitem:ace6bcbc9c530fa498900e5fbcf6e7f49"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#ace6bcbc9c530fa498900e5fbcf6e7f49">TmetaBasic::check1</a> (T x)</td></tr>
  131. <tr class="separator:ace6bcbc9c530fa498900e5fbcf6e7f49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a8fd829e39bf3d2429d66205a392a458f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a8fd829e39bf3d2429d66205a392a458f">TmetaBasic::check1</a> (...)</td></tr>
  133. <tr class="separator:a8fd829e39bf3d2429d66205a392a458f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a693588cb4aefc8048c1bc4fb414fa5fe"><td class="memTemplParams" colspan="2">template&lt;typename T , typename = enable_if_t&lt;same_&lt;T, int&gt;::type::value, void&gt;&gt; </td></tr>
  135. <tr class="memitem:a693588cb4aefc8048c1bc4fb414fa5fe"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a693588cb4aefc8048c1bc4fb414fa5fe">TmetaBasic::check2</a> (T x)</td></tr>
  136. <tr class="separator:a693588cb4aefc8048c1bc4fb414fa5fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a691f22848ac59a710a5a588e25b79bdf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a691f22848ac59a710a5a588e25b79bdf">TmetaBasic::check2</a> (...)</td></tr>
  138. <tr class="separator:a691f22848ac59a710a5a588e25b79bdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a5662c8ed09164d9e4ffbcc3931580eb9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_basic.html#a5662c8ed09164d9e4ffbcc3931580eb9">TmetaBasic::TEST</a> (TmetaBasic, Sfinae)</td></tr>
  140. <tr class="separator:a5662c8ed09164d9e4ffbcc3931580eb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. </table>
  142. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  143. <div class="textblock"><p>Copyright (C) 2018 Christos Choutouridis</p>
  144. <p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
  145. <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p>
  146. <p>You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p>
  147. <p class="definition">Definition in file <a class="el" href="_tmeta_basic_8cpp_source.html">TmetaBasic.cpp</a>.</p>
  148. </div></div><!-- contents -->
  149. </div><!-- doc-content -->
  150. <!-- start footer part -->
  151. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  152. <ul>
  153. <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>
  154. <li class="footer">Generated by
  155. <a href="http://www.doxygen.org/index.html">
  156. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  157. </ul>
  158. </div>
  159. </body>
  160. </html>