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.
 
 
 
 

129 lignes
33 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: include/utl/meta/detection.h Source File</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('detection_8h_source.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="headertitle">
  88. <div class="title">detection.h</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <a href="detection_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#ifndef __utl_meta_detection_h__</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define __utl_meta_detection_h__</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="impl_8h.html">utl/core/impl.h</a>&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="operations_8h.html">utl/meta/operations.h</a>&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;type_traits&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceutl.html">utl</a> {</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html"> 37</a></span>&#160;<span class="keyword">namespace </span>meta {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor"> #if defined(UTL_WORKAROUND_CWG_1558)</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... _Ts&gt;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">struct </span><a class="code" href="group__detection.html#gac16d50de47cf57734433e9ea636522c5">void_</a> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">using</span> type = void;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; };</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>... _Ts&gt;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">using</span> <a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t</a> = <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a>&lt;<a class="code" href="group__detection.html#gac16d50de47cf57734433e9ea636522c5">void_</a>&lt;_Ts...&gt;&gt;;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor"> #else</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span>...&gt; <span class="keyword">using</span> <a class="code" href="group__detection.html#gac16d50de47cf57734433e9ea636522c5">void_</a> = void;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad"> 55</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span>...&gt; <span class="keyword">using</span> <a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t</a> = void;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor"> #endif</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structutl_1_1meta_1_1nat__.html"> 63</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a> {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>() = <span class="keyword">delete</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; ~<a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>() = <span class="keyword">delete</span>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>(<a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a> <span class="keyword">const</span>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">void</span> operator = (<a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a> <span class="keyword">const</span>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; };</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta_1_1detail.html"> 72</a></span>&#160; <span class="keyword">namespace </span>detail {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Default,</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">typename</span> AlwaysVoid,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structutl_1_1meta_1_1detail_1_1detector.html"> 76</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detector</a> {</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structutl_1_1meta_1_1detail_1_1detector.html#a8090990f11c250f679b44a6fd48f8114"> 77</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html#a8090990f11c250f679b44a6fd48f8114">detected</a> = <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structutl_1_1meta_1_1detail_1_1detector.html#a747c70e71225be5ecaa6d20edce5512b"> 78</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html#a747c70e71225be5ecaa6d20edce5512b">type</a> = Default;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; };</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Default,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" 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"> 83</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detector</a> &lt;Default, <a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t</a>&lt;Op&lt;Args...&gt;&gt;, Op, Args...&gt; {</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" 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#ac8aebc89aa52ef6bde346c593a8feb74"> 84</a></span>&#160; <span class="keyword">using</span> <a class="code" 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#ac8aebc89aa52ef6bde346c593a8feb74">detected</a> = <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" 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#af9cba657766ddb15348043a15c5bc234"> 85</a></span>&#160; <span class="keyword">using</span> <a class="code" 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#af9cba657766ddb15348043a15c5bc234">type</a> = Op&lt;Args...&gt;;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; };</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Default,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta_1_1detail.html#a835827cb3116483228d6f7f774b68970"> 91</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detected_or</a> = <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detector</a>&lt;Default, void, Op, Args...&gt;;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; } <span class="comment">// namespace detail</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507"> 118</a></span>&#160; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a> = <span class="keyword">typename</span> <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detail::detector</a>&lt;<a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, void, Op, Args...&gt;::detected;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keyword">template</span>&lt; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#a4f3184ccb8e8ba2a78e2d2e83a0b9885"> 122</a></span>&#160; constexpr <span class="keywordtype">bool</span> <a class="code" href="namespaceutl_1_1meta.html#a4f3184ccb8e8ba2a78e2d2e83a0b9885">is_detected_v</a> = <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;Op, Args...&gt;::value;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a> = <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a> &lt;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detail::detector</a>&lt;<a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, void, Op, Args...&gt;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110"> 146</a></span>&#160; &gt;;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Default,</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a> = <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a> &lt;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="structutl_1_1meta_1_1detail_1_1detector.html">detail::detected_or</a>&lt;Default, Op, Args...&gt;</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c"> 172</a></span>&#160; &gt;;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Expected,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args &gt;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a> = <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a> &lt;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <a class="code" href="structutl_1_1meta_1_1same__.html">same_</a>&lt;Expected, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt;Op, Args...&gt;&gt;</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629"> 199</a></span>&#160; &gt;;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Expected,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args &gt;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#a960827a1d72083a511f8ea4ccc8beceb"> 204</a></span>&#160; constexpr <span class="keywordtype">bool</span> <a class="code" href="namespaceutl_1_1meta.html#a960827a1d72083a511f8ea4ccc8beceb">is_detected_exact_v</a> = <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; Expected, Op, Args...&gt;::value;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> To,</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args &gt;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def">is_detected_convertible</a> = <a class="code" href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">eval</a> &lt;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; std::is_convertible&lt; <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt;Op, Args...&gt;, To &gt;</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def"> 231</a></span>&#160; &gt;;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> To,</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span>...&gt; <span class="keyword">class </span>Op, <span class="keyword">typename</span>... Args &gt;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="namespaceutl_1_1meta.html#acba521b528e775be4b37d2e481e0f138"> 237</a></span>&#160; constexpr <span class="keywordtype">bool</span> <a class="code" href="namespaceutl_1_1meta.html#acba521b528e775be4b37d2e481e0f138">is_detected_convertible_v</a> =</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="code" href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def">is_detected_convertible</a>&lt;To, Op, Args...&gt;::value;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;}}</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __utl_meta_detection_h__ */</span><span class="preprocessor"></span></div><div class="ttc" id="group__detection_html_gae7373c997420d16cf37e542eb3cfa3ad"><div class="ttname"><a href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">utl::meta::void_t</a></div><div class="ttdeci">void void_t</div><div class="ttdoc">void_t type alias </div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00055">detection.h:55</a></div></div>
  92. <div class="ttc" id="namespaceutl_1_1meta_html_a960827a1d72083a511f8ea4ccc8beceb"><div class="ttname"><a href="namespaceutl_1_1meta.html#a960827a1d72083a511f8ea4ccc8beceb">utl::meta::is_detected_exact_v</a></div><div class="ttdeci">constexpr bool is_detected_exact_v</div><div class="ttdoc">evaluates to true if evaluation of Op&lt;Args...&gt; is Expected and to false if not </div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00204">detection.h:204</a></div></div>
  93. <div class="ttc" id="namespaceutl_1_1meta_html_ae9a5a8fbe8202785f059935af219fb97"><div class="ttname"><a href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">utl::meta::true_</a></div><div class="ttdeci">bool_&lt; true &gt; true_</div><div class="ttdoc">The type used as a compile-time boolean with true value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00068">integral.h:68</a></div></div>
  94. <div class="ttc" id="namespaceutl_1_1meta_html_afa24702fa15a1d0a8a05761c54b79def"><div class="ttname"><a href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def">utl::meta::is_detected_convertible</a></div><div class="ttdeci">eval&lt; std::is_convertible&lt; detected_t&lt; Op, Args... &gt;, To &gt; &gt; is_detected_convertible</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00231">detection.h:231</a></div></div>
  95. <div class="ttc" id="operations_8h_html"><div class="ttname"><a href="operations_8h.html">operations.h</a></div><div class="ttdoc">Integral constant operations and logical operations. </div></div>
  96. <div class="ttc" id="group__detection_html_gac16d50de47cf57734433e9ea636522c5"><div class="ttname"><a href="group__detection.html#gac16d50de47cf57734433e9ea636522c5">utl::meta::void_</a></div><div class="ttdeci">void void_</div><div class="ttdoc">void_ type alias </div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00053">detection.h:53</a></div></div>
  97. <div class="ttc" id="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_ac8aebc89aa52ef6bde346c593a8feb74"><div class="ttname"><a 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#ac8aebc89aa52ef6bde346c593a8feb74">utl::meta::detail::detector&lt; Default, void_t&lt; Op&lt; Args... &gt; &gt;, Op, Args... &gt;::detected</a></div><div class="ttdeci">true_ detected</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00084">detection.h:84</a></div></div>
  98. <div class="ttc" id="structutl_1_1meta_1_1nat___html"><div class="ttname"><a href="structutl_1_1meta_1_1nat__.html">utl::meta::nat_</a></div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00063">detection.h:63</a></div></div>
  99. <div class="ttc" id="structutl_1_1meta_1_1detail_1_1detector_html_a747c70e71225be5ecaa6d20edce5512b"><div class="ttname"><a href="structutl_1_1meta_1_1detail_1_1detector.html#a747c70e71225be5ecaa6d20edce5512b">utl::meta::detail::detector::type</a></div><div class="ttdeci">Default type</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00078">detection.h:78</a></div></div>
  100. <div class="ttc" id="namespaceutl_1_1meta_html_a55511dbaa0adb605ce22dcec11f8d22d"><div class="ttname"><a href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">utl::meta::false_</a></div><div class="ttdeci">bool_&lt; false &gt; false_</div><div class="ttdoc">The type used as a compile-time boolean with false value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00069">integral.h:69</a></div></div>
  101. <div class="ttc" id="namespaceutl_1_1meta_html_aa5a37adba244ff4286f994111c4c02ea"><div class="ttname"><a href="namespaceutl_1_1meta.html#aa5a37adba244ff4286f994111c4c02ea">utl::meta::eval</a></div><div class="ttdeci">typename Tp::type eval</div><div class="ttdoc">Type alias for Tp::type. Used to evaluate/extract return type of metafunctions. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00049">integral.h:49</a></div></div>
  102. <div class="ttc" id="namespaceutl_1_1meta_html_acba521b528e775be4b37d2e481e0f138"><div class="ttname"><a href="namespaceutl_1_1meta.html#acba521b528e775be4b37d2e481e0f138">utl::meta::is_detected_convertible_v</a></div><div class="ttdeci">constexpr bool is_detected_convertible_v</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00237">detection.h:237</a></div></div>
  103. <div class="ttc" id="namespaceutl_html"><div class="ttname"><a href="namespaceutl.html">utl</a></div><div class="ttdoc">STL&amp;#39;s core language concepts. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00030">_1wire.h:30</a></div></div>
  104. <div class="ttc" id="namespaceutl_1_1meta_html_aa654a286b3bc8e6d8116ee1f57087110"><div class="ttname"><a href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">utl::meta::detected_t</a></div><div class="ttdeci">eval&lt; detail::detector&lt; nat_, void, Op, Args... &gt; &gt; detected_t</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00146">detection.h:146</a></div></div>
  105. <div class="ttc" id="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_af9cba657766ddb15348043a15c5bc234"><div class="ttname"><a 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#af9cba657766ddb15348043a15c5bc234">utl::meta::detail::detector&lt; Default, void_t&lt; Op&lt; Args... &gt; &gt;, Op, Args... &gt;::type</a></div><div class="ttdeci">Op&lt; Args... &gt; type</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00085">detection.h:85</a></div></div>
  106. <div class="ttc" id="structutl_1_1meta_1_1same___html"><div class="ttname"><a href="structutl_1_1meta_1_1same__.html">utl::meta::same_</a></div><div class="ttdef"><b>Definition:</b> <a href="operations_8h_source.html#l00102">operations.h:102</a></div></div>
  107. <div class="ttc" id="structutl_1_1meta_1_1detail_1_1detector_html_a8090990f11c250f679b44a6fd48f8114"><div class="ttname"><a href="structutl_1_1meta_1_1detail_1_1detector.html#a8090990f11c250f679b44a6fd48f8114">utl::meta::detail::detector::detected</a></div><div class="ttdeci">false_ detected</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00077">detection.h:77</a></div></div>
  108. <div class="ttc" id="structutl_1_1meta_1_1detail_1_1detector_html"><div class="ttname"><a href="structutl_1_1meta_1_1detail_1_1detector.html">utl::meta::detail::detector</a></div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00076">detection.h:76</a></div></div>
  109. <div class="ttc" id="namespaceutl_1_1meta_html_ad5224ef66e8f40efaaf3ad3d605dd629"><div class="ttname"><a href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">utl::meta::is_detected_exact</a></div><div class="ttdeci">eval&lt; same_&lt; Expected, detected_t&lt; Op, Args... &gt; &gt; &gt; is_detected_exact</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00199">detection.h:199</a></div></div>
  110. <div class="ttc" id="namespaceutl_1_1meta_html_a5329219a9d2f195421a78d8e07873507"><div class="ttname"><a href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">utl::meta::is_detected</a></div><div class="ttdeci">typename detail::detector&lt; nat_, void, Op, Args... &gt;::detected is_detected</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00118">detection.h:118</a></div></div>
  111. <div class="ttc" id="namespaceutl_1_1meta_html_a4f3184ccb8e8ba2a78e2d2e83a0b9885"><div class="ttname"><a href="namespaceutl_1_1meta.html#a4f3184ccb8e8ba2a78e2d2e83a0b9885">utl::meta::is_detected_v</a></div><div class="ttdeci">constexpr bool is_detected_v</div><div class="ttdoc">Detection predicate. </div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00122">detection.h:122</a></div></div>
  112. <div class="ttc" id="impl_8h_html"><div class="ttname"><a href="impl_8h.html">impl.h</a></div><div class="ttdoc">Implementation detail main forward header. </div></div>
  113. <div class="ttc" id="namespaceutl_1_1meta_html_a8fd055bc6c6c3b1d551e9605aa35644c"><div class="ttname"><a href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">utl::meta::detected_or_t</a></div><div class="ttdeci">eval&lt; detail::detected_or&lt; Default, Op, Args... &gt; &gt; detected_or_t</div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00172">detection.h:172</a></div></div>
  114. </div><!-- fragment --></div><!-- contents -->
  115. </div><!-- doc-content -->
  116. <!-- start footer part -->
  117. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  118. <ul>
  119. <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="detection_8h.html">detection.h</a></li>
  120. <li class="footer">Generated by
  121. <a href="http://www.doxygen.org/index.html">
  122. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  123. </ul>
  124. </div>
  125. </body>
  126. </html>