Micro template library A library for building device drivers
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

175 рядки
13 KiB

  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/TmetaDetection.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_detection_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="#typedef-members">Typedefs</a> &#124;
  91. <a href="#func-members">Functions</a> </div>
  92. <div class="headertitle">
  93. <div class="title">TmetaDetection.cpp File Reference</div> </div>
  94. </div><!--header-->
  95. <div class="contents">
  96. <div class="textblock"><code>#include &lt;<a class="el" href="meta_8h_source.html">utl/meta/meta.h</a>&gt;</code><br />
  97. <code>#include &lt;<a class="el" href="gtest_8h_source.html">gtest/gtest.h</a>&gt;</code><br />
  98. <code>#include &lt;type_traits&gt;</code><br />
  99. </div>
  100. <p><a href="_tmeta_detection_8cpp_source.html">Go to the source code of this file.</a></p>
  101. <table class="memberdecls">
  102. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  103. Classes</h2></td></tr>
  104. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tmeta_detection_1_1_foo.html">TmetaDetection::Foo</a></td></tr>
  105. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tmeta_detection_1_1_bar.html">TmetaDetection::Bar</a></td></tr>
  107. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tmeta_detection_1_1_a.html">TmetaDetection::A&lt; T &gt;</a></td></tr>
  109. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tmeta_detection_1_1m_fun.html">TmetaDetection::mFun&lt; T1, T2 &gt;</a></td></tr>
  111. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. </table><table class="memberdecls">
  113. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
  114. Namespaces</h2></td></tr>
  115. <tr class="memitem:namespace_tmeta_detection"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html">TmetaDetection</a></td></tr>
  116. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. </table><table class="memberdecls">
  118. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  119. Typedefs</h2></td></tr>
  120. <tr class="memitem:a8afedee9c8f0f980114df2970b85b3d6"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  121. <tr class="memitem:a8afedee9c8f0f980114df2970b85b3d6"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">TmetaDetection::try_type</a> = typename T::type</td></tr>
  122. <tr class="separator:a8afedee9c8f0f980114df2970b85b3d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a5b1aa9fde2d938f131aa21dfbc31066d"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  124. <tr class="memitem:a5b1aa9fde2d938f131aa21dfbc31066d"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">TmetaDetection::try_none</a> = typename T::none</td></tr>
  125. <tr class="separator:a5b1aa9fde2d938f131aa21dfbc31066d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a51bb4ddb42b30683a5838f8425126955"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  127. <tr class="memitem:a51bb4ddb42b30683a5838f8425126955"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">TmetaDetection::try_ctor1</a> = decltype(T(std::declval&lt; int &gt;(), std::declval&lt; double &gt;()))</td></tr>
  128. <tr class="separator:a51bb4ddb42b30683a5838f8425126955"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a9fb54f795c97999192547571ba631be7"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  130. <tr class="memitem:a9fb54f795c97999192547571ba631be7"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">TmetaDetection::try_ctor2</a> = decltype(T(std::declval&lt; int &gt;()))</td></tr>
  131. <tr class="separator:a9fb54f795c97999192547571ba631be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a5a316a6cdd1fcf52966fee4f648f5986"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  133. <tr class="memitem:a5a316a6cdd1fcf52966fee4f648f5986"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">TmetaDetection::try_ppT</a> = decltype(++(std::declval&lt; T &gt;()))</td></tr>
  134. <tr class="separator:a5a316a6cdd1fcf52966fee4f648f5986"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a449d376e34edf3b90990510b64998ed6"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  136. <tr class="memitem:a449d376e34edf3b90990510b64998ed6"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">TmetaDetection::try_Tpp</a> = decltype(std::declval&lt; T &gt;()++)</td></tr>
  137. <tr class="separator:a449d376e34edf3b90990510b64998ed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ae8a09443bafe27ded567410f5d028934"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  139. <tr class="memitem:ae8a09443bafe27ded567410f5d028934"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">TmetaDetection::try_sfun</a> = decltype(std::declval&lt; T &gt;().sfun())</td></tr>
  140. <tr class="separator:ae8a09443bafe27ded567410f5d028934"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. </table><table class="memberdecls">
  142. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  143. Functions</h2></td></tr>
  144. <tr class="memitem:aa064e60dc07918977247e299899d361b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b">TmetaDetection::TEST</a> (TmetaDetection, VoidType)</td></tr>
  145. <tr class="separator:aa064e60dc07918977247e299899d361b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:aad05cd282a58a320252a8de7a8ec9ba5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#aad05cd282a58a320252a8de7a8ec9ba5">TmetaDetection::TEST</a> (TmetaDetection, NotAType)</td></tr>
  147. <tr class="separator:aad05cd282a58a320252a8de7a8ec9ba5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a022c84980b3a19f2087bf4694ff652a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#a022c84980b3a19f2087bf4694ff652a7">TmetaDetection::TEST</a> (TmetaDetection, IsDetected)</td></tr>
  149. <tr class="separator:a022c84980b3a19f2087bf4694ff652a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:ae8ced9a0416f4a848bc4de38355d5ee8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_tmeta_detection.html#ae8ced9a0416f4a848bc4de38355d5ee8">TmetaDetection::TEST</a> (TmetaDetection, Toolkit)</td></tr>
  151. <tr class="separator:ae8ced9a0416f4a848bc4de38355d5ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. </table>
  153. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  154. <div class="textblock"><p>Copyright (C) 2018 Christos Choutouridis</p>
  155. <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>
  156. <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>
  157. <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>
  158. <p class="definition">Definition in file <a class="el" href="_tmeta_detection_8cpp_source.html">TmetaDetection.cpp</a>.</p>
  159. </div></div><!-- contents -->
  160. </div><!-- doc-content -->
  161. <!-- start footer part -->
  162. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  163. <ul>
  164. <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_detection_8cpp.html">TmetaDetection.cpp</a></li>
  165. <li class="footer">Generated by
  166. <a href="http://www.doxygen.org/index.html">
  167. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  168. </ul>
  169. </div>
  170. </body>
  171. </html>