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.
 
 
 
 

252 lines
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: utl::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_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> &#124;
  90. <a href="#func-members">Functions</a> </div>
  91. <div class="headertitle">
  92. <div class="title">utl::detail Namespace Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  97. Classes</h2></td></tr>
  98. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1invoke__result__.html">invoke_result_</a></td></tr>
  99. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1invoke__result___3_01true_00_01___callable_00_01___args_8_8_8_01_4.html">invoke_result_&lt; true, _Callable, _Args... &gt;</a></td></tr>
  101. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1is__ref__wrapper.html">is_ref_wrapper</a></td></tr>
  103. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1detail_1_1is__ref__wrapper_3_01std_1_1reference__wrapper_3_01_u_01_4_01_4.html">is_ref_wrapper&lt; std::reference_wrapper&lt; U &gt; &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_1detail_1_1try__invoke.html">try_invoke</a></td></tr>
  107. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. </table><table class="memberdecls">
  109. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  110. Typedefs</h2></td></tr>
  111. <tr class="memitem:a50e7a46f910a83190bca5a58f67f1e2d"><td class="memTemplParams" colspan="2">template&lt;typename I &gt; </td></tr>
  112. <tr class="memitem:a50e7a46f910a83190bca5a58f67f1e2d"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html#a50e7a46f910a83190bca5a58f67f1e2d">try_ppI</a> = decltype(++(std::declval&lt; I &gt;()))</td></tr>
  113. <tr class="separator:a50e7a46f910a83190bca5a58f67f1e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a1371d13b3e8408cfc68e82b03ca9f3b0"><td class="memTemplParams" colspan="2">template&lt;typename I &gt; </td></tr>
  115. <tr class="memitem:a1371d13b3e8408cfc68e82b03ca9f3b0"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html#a1371d13b3e8408cfc68e82b03ca9f3b0">try_Ipp</a> = decltype(std::declval&lt; I &gt;()++)</td></tr>
  116. <tr class="separator:a1371d13b3e8408cfc68e82b03ca9f3b0"><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="func-members"></a>
  119. Functions</h2></td></tr>
  120. <tr class="memitem:a2c39a67272ada5da5f1b84115dadc4a1"><td class="memTemplParams" colspan="2">template&lt;class T , class Type , class T1 , class... Args, meta::enable_if_t&lt; std::is_member_function_pointer&lt; std::decay_t&lt; Type T::*&gt;&gt;::value &amp;&amp;std::is_base_of&lt; T, std::decay_t&lt; T1 &gt;&gt;::value, int &gt; = 0&gt; </td></tr>
  121. <tr class="memitem:a2c39a67272ada5da5f1b84115dadc4a1"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto)&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html#a2c39a67272ada5da5f1b84115dadc4a1">invoke_impl_</a> (Type T::*f, T1 &amp;&amp;t1, Args &amp;&amp;... args)</td></tr>
  122. <tr class="separator:a2c39a67272ada5da5f1b84115dadc4a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a09341831ecc9aab67a23d3a47b2d114f"><td class="memTemplParams" colspan="2">template&lt;class F , class... Args&gt; </td></tr>
  124. <tr class="memitem:a09341831ecc9aab67a23d3a47b2d114f"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto)&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html#a09341831ecc9aab67a23d3a47b2d114f">invoke_impl_</a> (F &amp;&amp;f, Args &amp;&amp;... args)</td></tr>
  125. <tr class="separator:a09341831ecc9aab67a23d3a47b2d114f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. </table>
  127. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  128. <div class="textblock"><p>invoke_result (SFINAE friendly) </p>
  129. </div><h2 class="groupheader">Typedef Documentation</h2>
  130. <a id="a1371d13b3e8408cfc68e82b03ca9f3b0"></a>
  131. <h2 class="memtitle"><span class="permalink"><a href="#a1371d13b3e8408cfc68e82b03ca9f3b0">&#9670;&nbsp;</a></span>try_Ipp</h2>
  132. <div class="memitem">
  133. <div class="memproto">
  134. <div class="memtemplate">
  135. template&lt;typename I &gt; </div>
  136. <table class="memname">
  137. <tr>
  138. <td class="memname">using <a class="el" href="namespaceutl_1_1detail.html#a1371d13b3e8408cfc68e82b03ca9f3b0">utl::detail::try_Ipp</a> = typedef decltype (std::declval&lt;I&gt;()++)</td>
  139. </tr>
  140. </table>
  141. </div><div class="memdoc">
  142. <p class="definition">Definition at line <a class="el" href="iterators_8h_source.html#l00046">46</a> of file <a class="el" href="iterators_8h_source.html">iterators.h</a>.</p>
  143. </div>
  144. </div>
  145. <a id="a50e7a46f910a83190bca5a58f67f1e2d"></a>
  146. <h2 class="memtitle"><span class="permalink"><a href="#a50e7a46f910a83190bca5a58f67f1e2d">&#9670;&nbsp;</a></span>try_ppI</h2>
  147. <div class="memitem">
  148. <div class="memproto">
  149. <div class="memtemplate">
  150. template&lt;typename I &gt; </div>
  151. <table class="memname">
  152. <tr>
  153. <td class="memname">using <a class="el" href="namespaceutl_1_1detail.html#a50e7a46f910a83190bca5a58f67f1e2d">utl::detail::try_ppI</a> = typedef decltype (++(std::declval&lt;I&gt;()))</td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. <p class="definition">Definition at line <a class="el" href="iterators_8h_source.html#l00045">45</a> of file <a class="el" href="iterators_8h_source.html">iterators.h</a>.</p>
  158. </div>
  159. </div>
  160. <h2 class="groupheader">Function Documentation</h2>
  161. <a id="a2c39a67272ada5da5f1b84115dadc4a1"></a>
  162. <h2 class="memtitle"><span class="permalink"><a href="#a2c39a67272ada5da5f1b84115dadc4a1">&#9670;&nbsp;</a></span>invoke_impl_() <span class="overload">[1/2]</span></h2>
  163. <div class="memitem">
  164. <div class="memproto">
  165. <div class="memtemplate">
  166. template&lt;class T , class Type , class T1 , class... Args, meta::enable_if_t&lt; std::is_member_function_pointer&lt; std::decay_t&lt; Type T::*&gt;&gt;::value &amp;&amp;std::is_base_of&lt; T, std::decay_t&lt; T1 &gt;&gt;::value, int &gt; = 0&gt; </div>
  167. <table class="memname">
  168. <tr>
  169. <td class="memname">decltype(auto) utl::detail::invoke_impl_ </td>
  170. <td>(</td>
  171. <td class="paramtype">Type T::*&#160;</td>
  172. <td class="paramname"><em>f</em>, </td>
  173. </tr>
  174. <tr>
  175. <td class="paramkey"></td>
  176. <td></td>
  177. <td class="paramtype">T1 &amp;&amp;&#160;</td>
  178. <td class="paramname"><em>t1</em>, </td>
  179. </tr>
  180. <tr>
  181. <td class="paramkey"></td>
  182. <td></td>
  183. <td class="paramtype">Args &amp;&amp;...&#160;</td>
  184. <td class="paramname"><em>args</em>&#160;</td>
  185. </tr>
  186. <tr>
  187. <td></td>
  188. <td>)</td>
  189. <td></td><td></td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p class="definition">Definition at line <a class="el" href="utility_2invoke_8h_source.html#l00051">51</a> of file <a class="el" href="utility_2invoke_8h_source.html">invoke.h</a>.</p>
  194. </div>
  195. </div>
  196. <a id="a09341831ecc9aab67a23d3a47b2d114f"></a>
  197. <h2 class="memtitle"><span class="permalink"><a href="#a09341831ecc9aab67a23d3a47b2d114f">&#9670;&nbsp;</a></span>invoke_impl_() <span class="overload">[2/2]</span></h2>
  198. <div class="memitem">
  199. <div class="memproto">
  200. <div class="memtemplate">
  201. template&lt;class F , class... Args&gt; </div>
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">decltype(auto) utl::detail::invoke_impl_ </td>
  205. <td>(</td>
  206. <td class="paramtype">F &amp;&amp;&#160;</td>
  207. <td class="paramname"><em>f</em>, </td>
  208. </tr>
  209. <tr>
  210. <td class="paramkey"></td>
  211. <td></td>
  212. <td class="paramtype">Args &amp;&amp;...&#160;</td>
  213. <td class="paramname"><em>args</em>&#160;</td>
  214. </tr>
  215. <tr>
  216. <td></td>
  217. <td>)</td>
  218. <td></td><td></td>
  219. </tr>
  220. </table>
  221. </div><div class="memdoc">
  222. <p class="definition">Definition at line <a class="el" href="utility_2invoke_8h_source.html#l00113">113</a> of file <a class="el" href="utility_2invoke_8h_source.html">invoke.h</a>.</p>
  223. </div>
  224. </div>
  225. </div><!-- contents -->
  226. </div><!-- doc-content -->
  227. <!-- start footer part -->
  228. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  229. <ul>
  230. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1detail.html">detail</a></li>
  231. <li class="footer">Generated by
  232. <a href="http://www.doxygen.org/index.html">
  233. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  234. </ul>
  235. </div>
  236. </body>
  237. </html>