Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

namespaceutl_1_1meta_1_1detail.html 16 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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: utl::meta::detail Namespace 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('namespaceutl_1_1meta_1_1detail.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="#typedef-members">Typedefs</a> </div>
  90. <div class="headertitle">
  91. <div class="title">utl::meta::detail Namespace Reference<div class="ingroups"><a class="el" href="group__integral.html">operators</a> &#124; <a class="el" href="group__type.html">selection</a></div></div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  96. Classes</h2></td></tr>
  97. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__and__.html">_and_</a></td></tr>
  98. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__and___3_01___t1_01_4.html">_and_&lt; _T1 &gt;</a></td></tr>
  100. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__and___3_01___t1_00_01___t2_01_4.html">_and_&lt; _T1, _T2 &gt;</a></td></tr>
  102. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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="structutl_1_1meta_1_1detail_1_1__and___3_01___t1_00_01___t2_00_01___t3_00_01___tn_8_8_8_01_4.html">_and_&lt; _T1, _T2, _T3, _Tn... &gt;</a></td></tr>
  104. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__and___3_4.html">_and_&lt;&gt;</a></td></tr>
  106. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__or__.html">_or_</a></td></tr>
  108. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__or___3_01___t1_01_4.html">_or_&lt; _T1 &gt;</a></td></tr>
  110. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__or___3_01___t1_00_01___t2_01_4.html">_or_&lt; _T1, _T2 &gt;</a></td></tr>
  112. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__or___3_01___t1_00_01___t2_00_01___t3_00_01___tn_8_8_8_01_4.html">_or_&lt; _T1, _T2, _T3, _Tn... &gt;</a></td></tr>
  114. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1__or___3_4.html">_or_&lt;&gt;</a></td></tr>
  116. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1compose__.html">compose_</a></td></tr>
  118. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1compose___3_01_fn0_01_4.html">compose_&lt; Fn0 &gt;</a></td></tr>
  120. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1compose___3_01_fn0_00_01_fns_8_8_8_01_4.html">compose_&lt; Fn0, Fns... &gt;</a></td></tr>
  122. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1compose__f__.html">compose_f_</a></td></tr>
  124. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1compose__f___3_01_fn0_01_4.html">compose_f_&lt; Fn0 &gt;</a></td></tr>
  126. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1compose__f___3_01_fn0_00_01_fns_8_8_8_01_4.html">compose_f_&lt; Fn0, Fns... &gt;</a></td></tr>
  128. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1defer__.html">defer_</a></td></tr>
  130. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1defer__i__.html">defer_i_</a></td></tr>
  132. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1detector.html">detector</a></td></tr>
  134. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1detector_3_01_default_00_01void__t_3_01_op_3_01_args_8_8_8_01_4_0c35bdbd19f56980c0b5ee6d490bfb634.html">detector&lt; Default, void_t&lt; Op&lt; Args... &gt; &gt;, Op, Args... &gt;</a></td></tr>
  136. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1if__c__.html">if_c_</a></td></tr>
  138. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1if__c___3_01false_00_01_then_00_01_else_01_4.html">if_c_&lt; false, Then, Else &gt;</a></td></tr>
  140. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1if__c___3_01true_00_01_then_01_4.html">if_c_&lt; true, Then &gt;</a></td></tr>
  142. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1if__c___3_01true_00_01_then_00_01_else_01_4.html">if_c_&lt; true, Then, Else &gt;</a></td></tr>
  144. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1is__applicable__.html">is_applicable_</a></td></tr>
  146. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1is__applicable__i__.html">is_applicable_i_</a></td></tr>
  148. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1is__applicable__q__.html">is_applicable_q_</a></td></tr>
  150. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1when__.html">when_</a></td></tr>
  152. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1meta_1_1detail_1_1when___3_01true_01_4.html">when_&lt; true &gt;</a></td></tr>
  154. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. </table><table class="memberdecls">
  156. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  157. Typedefs</h2></td></tr>
  158. <tr class="memitem:a835827cb3116483228d6f7f774b68970"><td class="memTemplParams" colspan="2">template&lt;typename Default , template&lt; typename... &gt; class Op, typename... Args&gt; </td></tr>
  159. <tr class="memitem:a835827cb3116483228d6f7f774b68970"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta_1_1detail.html#a835827cb3116483228d6f7f774b68970">detected_or</a> = <a class="el" href="structutl_1_1meta_1_1detail_1_1detector.html">detector</a>&lt; Default, void, Op, Args... &gt;</td></tr>
  160. <tr class="memdesc:a835827cb3116483228d6f7f774b68970"><td class="mdescLeft">&#160;</td><td class="mdescRight">helper for detected_or_t <a href="#a835827cb3116483228d6f7f774b68970">More...</a><br /></td></tr>
  161. <tr class="separator:a835827cb3116483228d6f7f774b68970"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. </table>
  163. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  164. <div class="textblock"><p>Detector for detection idiom</p>
  165. <p>Is applicable trait</p>
  166. <p>defer</p>
  167. <p>compose</p>
  168. <p>OR implementation</p>
  169. <p>AND implementation</p>
  170. <p>Type selectionif_, if_c</p>
  171. <p>Tool to enable a partial specialization only if a boolean condition is true. </p>
  172. </div><h2 class="groupheader">Typedef Documentation</h2>
  173. <a id="a835827cb3116483228d6f7f774b68970"></a>
  174. <h2 class="memtitle"><span class="permalink"><a href="#a835827cb3116483228d6f7f774b68970">&#9670;&nbsp;</a></span>detected_or</h2>
  175. <div class="memitem">
  176. <div class="memproto">
  177. <div class="memtemplate">
  178. template&lt;typename Default , template&lt; typename... &gt; class Op, typename... Args&gt; </div>
  179. <table class="memname">
  180. <tr>
  181. <td class="memname">using <a class="el" href="namespaceutl_1_1meta_1_1detail.html#a835827cb3116483228d6f7f774b68970">utl::meta::detail::detected_or</a> = typedef <a class="el" href="structutl_1_1meta_1_1detail_1_1detector.html">detector</a>&lt;Default, void, Op, Args...&gt;</td>
  182. </tr>
  183. </table>
  184. </div><div class="memdoc">
  185. <p>helper for detected_or_t </p>
  186. <dl><dt><b>Examples: </b></dt><dd><a class="el" href="_w_1_2_work_2_software_2_libraries_2utl_2include_2utl_2meta_2detection_8h-example.html#a5">W:/Work/Software/Libraries/utl/include/utl/meta/detection.h</a>.</dd>
  187. </dl>
  188. <p class="definition">Definition at line <a class="el" href="detection_8h_source.html#l00091">91</a> of file <a class="el" href="detection_8h_source.html">detection.h</a>.</p>
  189. </div>
  190. </div>
  191. </div><!-- contents -->
  192. </div><!-- doc-content -->
  193. <!-- start footer part -->
  194. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  195. <ul>
  196. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1meta.html">meta</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1meta_1_1detail.html">detail</a></li>
  197. <li class="footer">Generated by
  198. <a href="http://www.doxygen.org/index.html">
  199. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  200. </ul>
  201. </div>
  202. </body>
  203. </html>