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.

operations_8h.html 29 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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: include/utl/meta/operations.h 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('operations_8h.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> </div>
  91. <div class="headertitle">
  92. <div class="title">operations.h File Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <p>Integral constant operations and logical operations.
  96. <a href="#details">More...</a></p>
  97. <div class="textblock"><code>#include &lt;<a class="el" href="impl_8h_source.html">utl/core/impl.h</a>&gt;</code><br />
  98. <code>#include &lt;<a class="el" href="selection_8h_source.html">utl/meta/selection.h</a>&gt;</code><br />
  99. </div>
  100. <p><a href="operations_8h_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="structutl_1_1meta_1_1detail_1_1__or__.html">utl::meta::detail::_or_&lt;... &gt;</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="structutl_1_1meta_1_1detail_1_1__or___3_4.html">utl::meta::detail::_or_&lt;&gt;</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="structutl_1_1meta_1_1detail_1_1__or___3_01___t1_01_4.html">utl::meta::detail::_or_&lt; _T1 &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="structutl_1_1meta_1_1detail_1_1__or___3_01___t1_00_01___t2_01_4.html">utl::meta::detail::_or_&lt; _T1, _T2 &gt;</a></td></tr>
  111. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <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">utl::meta::detail::_or_&lt; _T1, _T2, _T3, _Tn... &gt;</a></td></tr>
  113. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <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">utl::meta::detail::_and_&lt;... &gt;</a></td></tr>
  115. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <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">utl::meta::detail::_and_&lt;&gt;</a></td></tr>
  117. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <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">utl::meta::detail::_and_&lt; _T1 &gt;</a></td></tr>
  119. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <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">utl::meta::detail::_and_&lt; _T1, _T2 &gt;</a></td></tr>
  121. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <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">utl::meta::detail::_and_&lt; _T1, _T2, _T3, _Tn... &gt;</a></td></tr>
  123. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <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_1same__.html">utl::meta::same_&lt; _T1, _T2 &gt;</a></td></tr>
  125. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <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_1same___3_01___tp_00_01___tp_01_4.html">utl::meta::same_&lt; _Tp, _Tp &gt;</a></td></tr>
  127. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table><table class="memberdecls">
  129. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
  130. Namespaces</h2></td></tr>
  131. <tr class="memitem:namespaceutl"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl.html">utl</a></td></tr>
  132. <tr class="memdesc:namespaceutl"><td class="mdescLeft">&#160;</td><td class="mdescRight">STL's core language concepts. <br /></td></tr>
  133. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:namespaceutl_1_1meta"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html">utl::meta</a></td></tr>
  135. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:namespaceutl_1_1meta_1_1detail"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta_1_1detail.html">utl::meta::detail</a></td></tr>
  137. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. </table><table class="memberdecls">
  139. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  140. Typedefs</h2></td></tr>
  141. <tr class="memitem:ga7de987520bd0973f03ff8bab3152361a"><td class="memTemplParams" colspan="2">template&lt;bool B&gt; </td></tr>
  142. <tr class="memitem:ga7de987520bd0973f03ff8bab3152361a"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">utl::meta::not_c</a> = bool_&lt;!B &gt;</td></tr>
  143. <tr class="memdesc:ga7de987520bd0973f03ff8bab3152361a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Negate the <em>bool</em> constant parameter. <a href="group__integral.html#ga7de987520bd0973f03ff8bab3152361a">More...</a><br /></td></tr>
  144. <tr class="separator:ga7de987520bd0973f03ff8bab3152361a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:ga16df145331d3c62e624385c5949d90c4"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
  146. <tr class="memitem:ga16df145331d3c62e624385c5949d90c4"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">utl::meta::not_</a> = not_c&lt; _Tp::type::value &gt;</td></tr>
  147. <tr class="memdesc:ga16df145331d3c62e624385c5949d90c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">not <a href="group__integral.html#ga16df145331d3c62e624385c5949d90c4">More...</a><br /></td></tr>
  148. <tr class="separator:ga16df145331d3c62e624385c5949d90c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  150. <tr class="memitem:gac43f400cc93d54f5f79892e618069d9b"><td class="memTemplParams" colspan="2">template&lt;typename... _Ts&gt; </td></tr>
  151. <tr class="memitem:gac43f400cc93d54f5f79892e618069d9b"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__integral.html#gac43f400cc93d54f5f79892e618069d9b">utl::meta::or_</a> = eval&lt; detail::_or_&lt; _Ts... &gt; &gt;</td></tr>
  152. <tr class="separator:gac43f400cc93d54f5f79892e618069d9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  154. <tr class="memitem:ga8e82f4758321e0e0b3705607f7d8e068"><td class="memTemplParams" colspan="2">template&lt;typename... _Ts&gt; </td></tr>
  155. <tr class="memitem:ga8e82f4758321e0e0b3705607f7d8e068"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__integral.html#ga8e82f4758321e0e0b3705607f7d8e068">utl::meta::and_</a> = eval&lt; detail::_and_&lt; _Ts... &gt; &gt;</td></tr>
  156. <tr class="separator:ga8e82f4758321e0e0b3705607f7d8e068"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  158. <tr class="memitem:ga4dfaf054d891eb35d741662b077bbbd2"><td class="memTemplParams" colspan="2">template&lt;typename _T1 , typename _T2 &gt; </td></tr>
  159. <tr class="memitem:ga4dfaf054d891eb35d741662b077bbbd2"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__integral.html#ga4dfaf054d891eb35d741662b077bbbd2">utl::meta::not_same_</a> = not_&lt; eval&lt; same_&lt; _T1, _T2 &gt; &gt;&gt;</td></tr>
  160. <tr class="separator:ga4dfaf054d891eb35d741662b077bbbd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  162. <tr class="memitem:aec4bf9329ff8356d333a59e3c369d0b7"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
  163. <tr class="memitem:aec4bf9329ff8356d333a59e3c369d0b7"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#aec4bf9329ff8356d333a59e3c369d0b7">utl::meta::negate</a> = integral_&lt; decltype(-_Tp()), -_Tp()&gt;</td></tr>
  164. <tr class="memdesc:aec4bf9329ff8356d333a59e3c369d0b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Negation. <a href="namespaceutl_1_1meta.html#aec4bf9329ff8356d333a59e3c369d0b7">More...</a><br /></td></tr>
  165. <tr class="separator:aec4bf9329ff8356d333a59e3c369d0b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a559ad95ef39fd2c81664bd1a22dd99c1"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  167. <tr class="memitem:a559ad95ef39fd2c81664bd1a22dd99c1"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a559ad95ef39fd2c81664bd1a22dd99c1">utl::meta::add</a> = integral_&lt; decltype(_Tp1()+_Tp2()), _Tp1()+_Tp2() &gt;</td></tr>
  168. <tr class="memdesc:a559ad95ef39fd2c81664bd1a22dd99c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Addition. <a href="namespaceutl_1_1meta.html#a559ad95ef39fd2c81664bd1a22dd99c1">More...</a><br /></td></tr>
  169. <tr class="separator:a559ad95ef39fd2c81664bd1a22dd99c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a5f0a890cbd116d4a72a760a26f5a8244"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  171. <tr class="memitem:a5f0a890cbd116d4a72a760a26f5a8244"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a5f0a890cbd116d4a72a760a26f5a8244">utl::meta::mult</a> = integral_&lt; decltype(_Tp2() *_Tp2()), _Tp1() *_Tp2() &gt;</td></tr>
  172. <tr class="memdesc:a5f0a890cbd116d4a72a760a26f5a8244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiplication. <a href="namespaceutl_1_1meta.html#a5f0a890cbd116d4a72a760a26f5a8244">More...</a><br /></td></tr>
  173. <tr class="separator:a5f0a890cbd116d4a72a760a26f5a8244"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:ae1ec6fc1f76abbb2e5287aa91cd85068"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  175. <tr class="memitem:ae1ec6fc1f76abbb2e5287aa91cd85068"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#ae1ec6fc1f76abbb2e5287aa91cd85068">utl::meta::divide</a> = integral_&lt; decltype(_Tp2()/_Tp2()), _Tp1()/_Tp2() &gt;</td></tr>
  176. <tr class="memdesc:ae1ec6fc1f76abbb2e5287aa91cd85068"><td class="mdescLeft">&#160;</td><td class="mdescRight">Division. <a href="namespaceutl_1_1meta.html#ae1ec6fc1f76abbb2e5287aa91cd85068">More...</a><br /></td></tr>
  177. <tr class="separator:ae1ec6fc1f76abbb2e5287aa91cd85068"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:adf7106374b1acc978be05b5848002cfc"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  179. <tr class="memitem:adf7106374b1acc978be05b5848002cfc"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#adf7106374b1acc978be05b5848002cfc">utl::meta::modulo</a> = integral_&lt; decltype(_Tp1() % _Tp2()), _Tp1() % _Tp2() &gt;</td></tr>
  180. <tr class="memdesc:adf7106374b1acc978be05b5848002cfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modulo. <a href="namespaceutl_1_1meta.html#adf7106374b1acc978be05b5848002cfc">More...</a><br /></td></tr>
  181. <tr class="separator:adf7106374b1acc978be05b5848002cfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a9f90eea3852367afa4e1fe74756976fb"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  183. <tr class="memitem:a9f90eea3852367afa4e1fe74756976fb"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a9f90eea3852367afa4e1fe74756976fb">utl::meta::sub</a> = add&lt; _Tp1, negate&lt; _Tp2 &gt; &gt;</td></tr>
  184. <tr class="memdesc:a9f90eea3852367afa4e1fe74756976fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Substruction. <a href="namespaceutl_1_1meta.html#a9f90eea3852367afa4e1fe74756976fb">More...</a><br /></td></tr>
  185. <tr class="separator:a9f90eea3852367afa4e1fe74756976fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:af74f5af58b33241f1b94102742a73ab1"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
  187. <tr class="memitem:af74f5af58b33241f1b94102742a73ab1"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#af74f5af58b33241f1b94102742a73ab1">utl::meta::inc</a> = add&lt; _Tp, int_&lt; 1 &gt; &gt;</td></tr>
  188. <tr class="memdesc:af74f5af58b33241f1b94102742a73ab1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increase. <a href="namespaceutl_1_1meta.html#af74f5af58b33241f1b94102742a73ab1">More...</a><br /></td></tr>
  189. <tr class="separator:af74f5af58b33241f1b94102742a73ab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:abee96e75aadb364fdd0890aa3ee490b7"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
  191. <tr class="memitem:abee96e75aadb364fdd0890aa3ee490b7"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#abee96e75aadb364fdd0890aa3ee490b7">utl::meta::dec</a> = add&lt; _Tp, int_&lt;-1 &gt; &gt;</td></tr>
  192. <tr class="memdesc:abee96e75aadb364fdd0890aa3ee490b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">decrease <a href="namespaceutl_1_1meta.html#abee96e75aadb364fdd0890aa3ee490b7">More...</a><br /></td></tr>
  193. <tr class="separator:abee96e75aadb364fdd0890aa3ee490b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  195. <tr class="memitem:a7ae2d08147055946f1b9345e579a26b6"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  196. <tr class="memitem:a7ae2d08147055946f1b9345e579a26b6"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a7ae2d08147055946f1b9345e579a26b6">utl::meta::comp_eq</a> = bool_&lt; _Tp1()==_Tp2()&gt;</td></tr>
  197. <tr class="separator:a7ae2d08147055946f1b9345e579a26b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a1a948746d1758a05c0ae71cfd114b05d"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  199. <tr class="memitem:a1a948746d1758a05c0ae71cfd114b05d"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a1a948746d1758a05c0ae71cfd114b05d">utl::meta::comp_lt</a> = bool_&lt;(_Tp1()&lt; _Tp2())&gt;</td></tr>
  200. <tr class="separator:a1a948746d1758a05c0ae71cfd114b05d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:af92bee16de47b16ba01a8efac686b488"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  202. <tr class="memitem:af92bee16de47b16ba01a8efac686b488"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#af92bee16de47b16ba01a8efac686b488">utl::meta::comp_ne</a> = not_&lt; comp_eq&lt; _Tp1, _Tp2 &gt; &gt;</td></tr>
  203. <tr class="memdesc:af92bee16de47b16ba01a8efac686b488"><td class="mdescLeft">&#160;</td><td class="mdescRight">Not equal. <a href="namespaceutl_1_1meta.html#af92bee16de47b16ba01a8efac686b488">More...</a><br /></td></tr>
  204. <tr class="separator:af92bee16de47b16ba01a8efac686b488"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. <tr class="memitem:a3c4784ad3eb1f745c58b9a4b65a406e8"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  206. <tr class="memitem:a3c4784ad3eb1f745c58b9a4b65a406e8"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a3c4784ad3eb1f745c58b9a4b65a406e8">utl::meta::comp_gt</a> = comp_lt&lt; _Tp2, _Tp1 &gt;</td></tr>
  207. <tr class="memdesc:a3c4784ad3eb1f745c58b9a4b65a406e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Greater than. <a href="namespaceutl_1_1meta.html#a3c4784ad3eb1f745c58b9a4b65a406e8">More...</a><br /></td></tr>
  208. <tr class="separator:a3c4784ad3eb1f745c58b9a4b65a406e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. <tr class="memitem:afb9a35dc5ef40b5bf9902c0daec7f1af"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  210. <tr class="memitem:afb9a35dc5ef40b5bf9902c0daec7f1af"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">utl::meta::comp_le</a> = not_&lt; comp_lt&lt; _Tp2, _Tp1 &gt; &gt;</td></tr>
  211. <tr class="memdesc:afb9a35dc5ef40b5bf9902c0daec7f1af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Less or equal. <a href="namespaceutl_1_1meta.html#afb9a35dc5ef40b5bf9902c0daec7f1af">More...</a><br /></td></tr>
  212. <tr class="separator:afb9a35dc5ef40b5bf9902c0daec7f1af"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. <tr class="memitem:ae6c552e8e99ac5578f865f17c1d0efdc"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  214. <tr class="memitem:ae6c552e8e99ac5578f865f17c1d0efdc"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">utl::meta::comp_ge</a> = not_&lt; comp_lt&lt; _Tp1, _Tp2 &gt; &gt;</td></tr>
  215. <tr class="memdesc:ae6c552e8e99ac5578f865f17c1d0efdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Greater or equal. <a href="namespaceutl_1_1meta.html#ae6c552e8e99ac5578f865f17c1d0efdc">More...</a><br /></td></tr>
  216. <tr class="separator:ae6c552e8e99ac5578f865f17c1d0efdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  217. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  218. <tr class="memitem:a9ea199752ca985d1b813d7127868566c"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  219. <tr class="memitem:a9ea199752ca985d1b813d7127868566c"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a9ea199752ca985d1b813d7127868566c">utl::meta::bitnot_</a> = integral_&lt; typename _T::value_type,(typename _T::value_type)(~_T())&gt;</td></tr>
  220. <tr class="separator:a9ea199752ca985d1b813d7127868566c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  221. <tr class="memitem:aca6b42898b47945118c518bde9d25cc2"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  222. <tr class="memitem:aca6b42898b47945118c518bde9d25cc2"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#aca6b42898b47945118c518bde9d25cc2">utl::meta::bitand_</a> = integral_&lt; decltype(_Tp1() &amp;_Tp2()), _Tp1() &amp;_Tp2()&gt;</td></tr>
  223. <tr class="separator:aca6b42898b47945118c518bde9d25cc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:a1e2c2decdd22972fc8ce43203c0ef0d1"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  225. <tr class="memitem:a1e2c2decdd22972fc8ce43203c0ef0d1"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a1e2c2decdd22972fc8ce43203c0ef0d1">utl::meta::bitor_</a> = integral_&lt; decltype(_Tp1()|_Tp2()), _Tp1()|_Tp2()&gt;</td></tr>
  226. <tr class="separator:a1e2c2decdd22972fc8ce43203c0ef0d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  227. <tr class="memitem:a910e21345bc7e75dc7c0ceb4a4721754"><td class="memTemplParams" colspan="2">template&lt;typename _Tp1 , typename _Tp2 &gt; </td></tr>
  228. <tr class="memitem:a910e21345bc7e75dc7c0ceb4a4721754"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a910e21345bc7e75dc7c0ceb4a4721754">utl::meta::bitxor_</a> = integral_&lt; decltype(_Tp1() ^ _Tp2()), _Tp1() ^ _Tp2()&gt;</td></tr>
  229. <tr class="separator:a910e21345bc7e75dc7c0ceb4a4721754"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:a63088c29ac25eefda4189721e662b391"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , typename shift &gt; </td></tr>
  231. <tr class="memitem:a63088c29ac25eefda4189721e662b391"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#a63088c29ac25eefda4189721e662b391">utl::meta::shift_left</a> = integral_&lt; typename _Tp::value_type,(typename _Tp::value_type)(_Tp()&lt;&lt; shift())&gt;</td></tr>
  232. <tr class="separator:a63088c29ac25eefda4189721e662b391"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:acbe6dd78c4a4230e92acc5ca86e3fcc7"><td class="memTemplParams" colspan="2">template&lt;typename _Tp , typename shift &gt; </td></tr>
  234. <tr class="memitem:acbe6dd78c4a4230e92acc5ca86e3fcc7"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1meta.html#acbe6dd78c4a4230e92acc5ca86e3fcc7">utl::meta::shift_right</a> = integral_&lt; typename _Tp::value_type,(typename _Tp::value_type)(_Tp() &gt; &gt; shift())&gt;</td></tr>
  235. <tr class="separator:acbe6dd78c4a4230e92acc5ca86e3fcc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  236. </table>
  237. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  238. <div class="textblock"><p>Integral constant operations and logical operations. </p>
  239. <p>Copyright (C) 2018-2019 Christos Choutouridis</p>
  240. <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>
  241. <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>
  242. <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>
  243. <p class="definition">Definition in file <a class="el" href="operations_8h_source.html">operations.h</a>.</p>
  244. </div></div><!-- contents -->
  245. </div><!-- doc-content -->
  246. <!-- start footer part -->
  247. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  248. <ul>
  249. <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_82754f54d9380477ef02477185c1f103.html">utl</a></li><li class="navelem"><a class="el" href="dir_c6a55aeb35dd92d90cdd3b5869981960.html">meta</a></li><li class="navelem"><a class="el" href="operations_8h.html">operations.h</a></li>
  250. <li class="footer">Generated by
  251. <a href="http://www.doxygen.org/index.html">
  252. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  253. </ul>
  254. </div>
  255. </body>
  256. </html>