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.
 
 
 
 

141 lines
63 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: test/tests/TmetaDetection.cpp 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('_tmeta_detection_8cpp_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">TmetaDetection.cpp</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <a href="_tmeta_detection_8cpp.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="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="meta_8h.html">utl/meta/meta.h</a>&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="gtest_8h.html">gtest/gtest.h</a>&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;type_traits&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html"> 24</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_tmeta_detection.html">TmetaDetection</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keyword">using namespace </span><a class="code" href="namespaceutl.html">utl</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">using namespace </span>meta;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="comment">/*</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> * Types to behave like Fixtures</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_foo.html"> 31</a></span>&#160; <span class="keyword">struct </span><a class="code" href="struct_tmeta_detection_1_1_foo.html">Foo</a> {};</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_bar.html"> 32</a></span>&#160; <span class="keyword">struct </span><a class="code" href="struct_tmeta_detection_1_1_bar.html">Bar</a> {};</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_a.html"> 34</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">struct </span><a class="code" href="struct_tmeta_detection_1_1_a.html">A</a> {</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_a.html#abb4c8bfc99b5eda5cf4022aebe3ce14c"> 35</a></span>&#160; <span class="keyword">using</span> <a class="code" href="struct_tmeta_detection_1_1_a.html#abb4c8bfc99b5eda5cf4022aebe3ce14c">type</a> = T; <span class="comment">// nested type</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_a.html#a370babd29cb6d649218312629232ca2e"> 36</a></span>&#160; <a class="code" href="struct_tmeta_detection_1_1_a.html#a370babd29cb6d649218312629232ca2e">A</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span> d) : i_(i), d_(d) {} <span class="comment">// declare a non-trivial constructor</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_a.html#a8d9dcbc3f32ae8c0a881855f6a589e5a"> 37</a></span>&#160; <a class="code" href="struct_tmeta_detection_1_1_a.html">A</a>&amp; <a class="code" href="struct_tmeta_detection_1_1_a.html#a8d9dcbc3f32ae8c0a881855f6a589e5a">operator++</a>() { ++i_; <span class="keywordflow">return</span> *<span class="keyword">this</span>; } <span class="comment">// declare an operator</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="comment">// A sfinae function</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; template &lt;typename TT = T, typename = when&lt;std::is_integral&lt;TT&gt;::type::value&gt;&gt;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1_a.html#ada3b575458a82b475f0c11dc2187af3c"> 41</a></span>&#160; TT <a class="code" href="struct_tmeta_detection_1_1_a.html#ada3b575458a82b475f0c11dc2187af3c">sfun</a> () { <span class="keywordflow">return</span> TT{}; }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">int</span> i_; <span class="keywordtype">double</span> d_;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; };</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="comment">// A binary metafunction</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1m_fun.html"> 48</a></span>&#160; <span class="keyword">struct </span><a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun</a> {</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="struct_tmeta_detection_1_1m_fun.html#a27c6b961c5aad1b23c58d9809698489f"> 49</a></span>&#160; <span class="keyword">using</span> <a class="code" href="struct_tmeta_detection_1_1m_fun.html#a27c6b961c5aad1b23c58d9809698489f">type</a> = std::is_same &lt;T1, T2&gt;;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; };</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">// detectors</span></div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6"> 53</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a> = <span class="keyword">typename</span> T::type;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d"> 54</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a> = <span class="keyword">typename</span> T::none;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955"> 55</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">try_ctor1</a>= decltype (T(std::declval&lt;int&gt;(), std::declval&lt;double&gt;()));</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7"> 56</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">try_ctor2</a>= decltype (T(std::declval&lt;int&gt;()));</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986"> 57</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">try_ppT</a> = decltype (++(std::declval&lt;T&gt;()));</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6"> 58</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">try_Tpp</a> = decltype (std::declval&lt;T&gt;()++);</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934"> 59</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keyword">using</span> <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a> = decltype (std::declval&lt;T&gt;().sfun());</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="comment">/*</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment"> * void_t</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b"> 64</a></span>&#160; <a class="code" href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b">TEST</a>(<a class="code" href="namespace_tmeta_detection.html">TmetaDetection</a>, VoidType) {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same&lt;<span class="keywordtype">void</span>, <a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t&lt;int, long, void*, void, Foo, Bar&gt;</a>&gt;()));</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">true</span>, (std::is_same&lt;<span class="keywordtype">void</span>, <a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t&lt;&gt;</a>&gt;()));</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; }</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; <span class="comment">/*</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="comment"> * not a type</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#aad05cd282a58a320252a8de7a8ec9ba5"> 72</a></span>&#160; <a class="code" href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b">TEST</a>(<a class="code" href="namespace_tmeta_detection.html">TmetaDetection</a>, NotAType) {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">false</span>, (std::is_default_constructible&lt;nat_&gt;()));</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">false</span>, (std::is_destructible&lt;nat_&gt;()));</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">false</span>, (std::is_copy_constructible&lt;nat_&gt;()));</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a>(<span class="keyword">false</span>, (std::is_copy_assignable&lt;nat_&gt;()));</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">/*</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment"> * Idiom</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#a022c84980b3a19f2087bf4694ff652a7"> 82</a></span>&#160; <a class="code" href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b">TEST</a>(<a class="code" href="namespace_tmeta_detection.html">TmetaDetection</a>, IsDetected) {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">try_ctor1</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">try_ctor2</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">try_ppT</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">try_Tpp</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected</a>&lt;<a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;double&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected&lt;mFun, int, void&gt;</a> &gt;()));</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected&lt;mFun, char&gt;</a> &gt;()));</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#a5329219a9d2f195421a78d8e07873507">is_detected&lt;mFun, char, void, void&gt;</a> &gt;()));</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a4f3184ccb8e8ba2a78e2d2e83a0b9885">is_detected_v</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt;));</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>,(<a class="code" href="namespaceutl_1_1meta.html#a4f3184ccb8e8ba2a78e2d2e83a0b9885">is_detected_v</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt;));</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (is_detected_v&lt;mFun, int, void&gt;));</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="comment">/*</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="comment"> * Idiom</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="namespace_tmeta_detection.html#ae8ced9a0416f4a848bc4de38355d5ee8"> 106</a></span>&#160; <a class="code" href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b">TEST</a>(<a class="code" href="namespace_tmeta_detection.html">TmetaDetection</a>, Toolkit) {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="comment">// detected_t</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt;<a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">try_ctor1</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">try_ctor2</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&amp;,<a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">try_ppT</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">try_Tpp</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t</a>&lt; <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;double&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nat__.html">nat_</a>, <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t&lt;mFun, void&gt;</a> &gt;()));</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun&lt;int, int&gt;</a>,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="namespaceutl_1_1meta.html#aa654a286b3bc8e6d8116ee1f57087110">detected_t&lt;mFun, int, int&gt;</a> &gt;()));</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// detected_or_t</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<a class="code" href="struct_tmeta_detection_1_1_foo.html">Foo</a>, <a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1_foo.html">Foo</a>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<a class="code" href="struct_tmeta_detection_1_1_foo.html">Foo</a>, <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<span class="keywordtype">void</span>, <a class="code" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">try_ctor1</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <span class="keywordtype">void</span>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<span class="keywordtype">void</span>, <a class="code" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">try_ctor2</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&amp;,<a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">try_ppT</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">try_Tpp</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <span class="keywordtype">int</span>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<span class="keywordtype">void</span>*, <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <span class="keywordtype">void</span>*, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t</a>&lt;<span class="keywordtype">void</span>*, <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;double&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="structutl_1_1meta_1_1nil__.html">nil_</a>, <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t&lt;nil_, mFun, int&gt;</a> &gt;()));</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt; <a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun&lt;char, int&gt;</a>,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="namespaceutl_1_1meta.html#a8fd055bc6c6c3b1d551e9605aa35644c">detected_or_t&lt;void, mFun, char, int&gt;</a> &gt;()));</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="comment">// is_detected_exact</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>, <a class="code" href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">try_ctor1</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>, <a class="code" href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">try_ctor2</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&amp;,<a class="code" href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">try_ppT</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&amp;,<a class="code" href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">try_Tpp</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">try_sfun</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;double&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt;<a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun&lt;char, int&gt;</a>, <a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun</a>, <span class="keywordtype">char</span>, <span class="keywordtype">int</span>&gt; &gt;()));</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#ad5224ef66e8f40efaaf3ad3d605dd629">is_detected_exact</a>&lt;<a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun&lt;int, int&gt;</a>, <a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun</a>, <span class="keywordtype">int</span>&gt; &gt;())); <span class="comment">// it would be better to check against mFun&lt;int&gt;</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#a960827a1d72083a511f8ea4ccc8beceb">is_detected_exact_v</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; ));</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>,(<a class="code" href="namespaceutl_1_1meta.html#a960827a1d72083a511f8ea4ccc8beceb">is_detected_exact_v</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; ));</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="comment">// is_detected_convertible</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a>, <a class="code" href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def">is_detected_convertible</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;char&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def">is_detected_convertible</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; &gt;()));</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (std::is_same&lt;<a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a>, <a class="code" href="namespaceutl_1_1meta.html#afa24702fa15a1d0a8a05761c54b79def">is_detected_convertible</a>&lt; <a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun&lt;int, int&gt;</a>, <a class="code" href="struct_tmeta_detection_1_1m_fun.html">mFun</a>, <span class="keywordtype">char</span>, <span class="keywordtype">int</span>&gt; &gt;()));</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">true</span>, (<a class="code" href="namespaceutl_1_1meta.html#acba521b528e775be4b37d2e481e0f138">is_detected_convertible_v</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">try_type</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;char&gt;</a>&gt; ));</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a> (<span class="keyword">false</span>,(<a class="code" href="namespaceutl_1_1meta.html#acba521b528e775be4b37d2e481e0f138">is_detected_convertible_v</a>&lt; <span class="keywordtype">int</span>, <a class="code" href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">try_none</a>, <a class="code" href="struct_tmeta_detection_1_1_a.html">A&lt;int&gt;</a>&gt; ));</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; }</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;}</div><div class="ttc" id="struct_tmeta_detection_1_1_a_html_a8d9dcbc3f32ae8c0a881855f6a589e5a"><div class="ttname"><a href="struct_tmeta_detection_1_1_a.html#a8d9dcbc3f32ae8c0a881855f6a589e5a">TmetaDetection::A::operator++</a></div><div class="ttdeci">A &amp; operator++()</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00037">TmetaDetection.cpp:37</a></div></div>
  92. <div class="ttc" id="namespace_tmeta_detection_html_ae8a09443bafe27ded567410f5d028934"><div class="ttname"><a href="namespace_tmeta_detection.html#ae8a09443bafe27ded567410f5d028934">TmetaDetection::try_sfun</a></div><div class="ttdeci">decltype(std::declval&lt; T &gt;().sfun()) try_sfun</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00059">TmetaDetection.cpp:59</a></div></div>
  93. <div class="ttc" id="meta_8h_html"><div class="ttname"><a href="meta_8h.html">meta.h</a></div><div class="ttdoc">Include all meta library. </div></div>
  94. <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>
  95. <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>
  96. <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>
  97. <div class="ttc" id="struct_tmeta_detection_1_1m_fun_html_a27c6b961c5aad1b23c58d9809698489f"><div class="ttname"><a href="struct_tmeta_detection_1_1m_fun.html#a27c6b961c5aad1b23c58d9809698489f">TmetaDetection::mFun::type</a></div><div class="ttdeci">std::is_same&lt; T1, T2 &gt; type</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00049">TmetaDetection.cpp:49</a></div></div>
  98. <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>
  99. <div class="ttc" id="namespace_tmeta_detection_html_a5b1aa9fde2d938f131aa21dfbc31066d"><div class="ttname"><a href="namespace_tmeta_detection.html#a5b1aa9fde2d938f131aa21dfbc31066d">TmetaDetection::try_none</a></div><div class="ttdeci">typename T::none try_none</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00054">TmetaDetection.cpp:54</a></div></div>
  100. <div class="ttc" id="gtest_8h_html"><div class="ttname"><a href="gtest_8h.html">gtest.h</a></div></div>
  101. <div class="ttc" id="struct_tmeta_detection_1_1_a_html_abb4c8bfc99b5eda5cf4022aebe3ce14c"><div class="ttname"><a href="struct_tmeta_detection_1_1_a.html#abb4c8bfc99b5eda5cf4022aebe3ce14c">TmetaDetection::A::type</a></div><div class="ttdeci">T type</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00035">TmetaDetection.cpp:35</a></div></div>
  102. <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>
  103. <div class="ttc" id="structutl_1_1meta_1_1nil___html"><div class="ttname"><a href="structutl_1_1meta_1_1nil__.html">utl::meta::nil_</a></div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00043">integral.h:43</a></div></div>
  104. <div class="ttc" id="struct_tmeta_detection_1_1_a_html_ada3b575458a82b475f0c11dc2187af3c"><div class="ttname"><a href="struct_tmeta_detection_1_1_a.html#ada3b575458a82b475f0c11dc2187af3c">TmetaDetection::A::sfun</a></div><div class="ttdeci">TT sfun()</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00041">TmetaDetection.cpp:41</a></div></div>
  105. <div class="ttc" id="namespace_tmeta_detection_html_aa064e60dc07918977247e299899d361b"><div class="ttname"><a href="namespace_tmeta_detection.html#aa064e60dc07918977247e299899d361b">TmetaDetection::TEST</a></div><div class="ttdeci">TEST(TmetaDetection, VoidType)</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00064">TmetaDetection.cpp:64</a></div></div>
  106. <div class="ttc" id="namespace_tmeta_detection_html_a449d376e34edf3b90990510b64998ed6"><div class="ttname"><a href="namespace_tmeta_detection.html#a449d376e34edf3b90990510b64998ed6">TmetaDetection::try_Tpp</a></div><div class="ttdeci">decltype(std::declval&lt; T &gt;()++) try_Tpp</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00058">TmetaDetection.cpp:58</a></div></div>
  107. <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>
  108. <div class="ttc" id="namespace_tmeta_detection_html"><div class="ttname"><a href="namespace_tmeta_detection.html">TmetaDetection</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00024">TmetaDetection.cpp:24</a></div></div>
  109. <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>
  110. <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>
  111. <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>
  112. <div class="ttc" id="struct_tmeta_detection_1_1_a_html"><div class="ttname"><a href="struct_tmeta_detection_1_1_a.html">TmetaDetection::A</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00034">TmetaDetection.cpp:34</a></div></div>
  113. <div class="ttc" id="namespace_tmeta_detection_html_a8afedee9c8f0f980114df2970b85b3d6"><div class="ttname"><a href="namespace_tmeta_detection.html#a8afedee9c8f0f980114df2970b85b3d6">TmetaDetection::try_type</a></div><div class="ttdeci">typename T::type try_type</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00053">TmetaDetection.cpp:53</a></div></div>
  114. <div class="ttc" id="namespace_tmeta_detection_html_a9fb54f795c97999192547571ba631be7"><div class="ttname"><a href="namespace_tmeta_detection.html#a9fb54f795c97999192547571ba631be7">TmetaDetection::try_ctor2</a></div><div class="ttdeci">decltype(T(std::declval&lt; int &gt;())) try_ctor2</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00056">TmetaDetection.cpp:56</a></div></div>
  115. <div class="ttc" id="gtest_8h_html_a4159019abda84f5366acdb7604ff220a"><div class="ttname"><a href="gtest_8h.html#a4159019abda84f5366acdb7604ff220a">EXPECT_EQ</a></div><div class="ttdeci">#define EXPECT_EQ(val1, val2)</div><div class="ttdef"><b>Definition:</b> <a href="gtest_8h_source.html#l16643">gtest.h:16643</a></div></div>
  116. <div class="ttc" id="struct_tmeta_detection_1_1m_fun_html"><div class="ttname"><a href="struct_tmeta_detection_1_1m_fun.html">TmetaDetection::mFun</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00048">TmetaDetection.cpp:48</a></div></div>
  117. <div class="ttc" id="struct_tmeta_detection_1_1_a_html_a370babd29cb6d649218312629232ca2e"><div class="ttname"><a href="struct_tmeta_detection_1_1_a.html#a370babd29cb6d649218312629232ca2e">TmetaDetection::A::A</a></div><div class="ttdeci">A(int i, double d)</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00036">TmetaDetection.cpp:36</a></div></div>
  118. <div class="ttc" id="struct_tmeta_detection_1_1_foo_html"><div class="ttname"><a href="struct_tmeta_detection_1_1_foo.html">TmetaDetection::Foo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00031">TmetaDetection.cpp:31</a></div></div>
  119. <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>
  120. <div class="ttc" id="struct_tmeta_detection_1_1_bar_html"><div class="ttname"><a href="struct_tmeta_detection_1_1_bar.html">TmetaDetection::Bar</a></div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00032">TmetaDetection.cpp:32</a></div></div>
  121. <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>
  122. <div class="ttc" id="namespace_tmeta_detection_html_a5a316a6cdd1fcf52966fee4f648f5986"><div class="ttname"><a href="namespace_tmeta_detection.html#a5a316a6cdd1fcf52966fee4f648f5986">TmetaDetection::try_ppT</a></div><div class="ttdeci">decltype(++(std::declval&lt; T &gt;())) try_ppT</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00057">TmetaDetection.cpp:57</a></div></div>
  123. <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>
  124. <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>
  125. <div class="ttc" id="namespace_tmeta_detection_html_a51bb4ddb42b30683a5838f8425126955"><div class="ttname"><a href="namespace_tmeta_detection.html#a51bb4ddb42b30683a5838f8425126955">TmetaDetection::try_ctor1</a></div><div class="ttdeci">decltype(T(std::declval&lt; int &gt;(), std::declval&lt; double &gt;())) try_ctor1</div><div class="ttdef"><b>Definition:</b> <a href="_tmeta_detection_8cpp_source.html#l00055">TmetaDetection.cpp:55</a></div></div>
  126. </div><!-- fragment --></div><!-- contents -->
  127. </div><!-- doc-content -->
  128. <!-- start footer part -->
  129. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  130. <ul>
  131. <li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="dir_d84abbe486a7f5f39e3c9088ffc1760a.html">tests</a></li><li class="navelem"><a class="el" href="_tmeta_detection_8cpp.html">TmetaDetection.cpp</a></li>
  132. <li class="footer">Generated by
  133. <a href="http://www.doxygen.org/index.html">
  134. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  135. </ul>
  136. </div>
  137. </body>
  138. </html>