Micro template library A library for building device drivers
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

106 рядки
14 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/core/version.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('version_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">version.h</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <a href="version_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="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef __utl_core_version_h__</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define __utl_core_version_h__</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="group__version.html#ga7665eee3bbd12a8d910e6237e59d3aee"> 29</a></span>&#160;<span class="preprocessor">#define UTL_VERSION &quot;0.1.0&quot;</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="group__version.html#ga127ec85c06925fbd866584721188df32"> 30</a></span>&#160;<span class="preprocessor">#define UTL_VERSION_MAJOR 0</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="group__version.html#ga9bc1d657cd305d09ffe825ab50672c2e"> 31</a></span>&#160;<span class="preprocessor">#define UTL_VERSION_MINOR 1</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__version.html#ga0ccbcd211a838107438ae0e194f871a9"> 32</a></span>&#160;<span class="preprocessor">#define UTL_VERSION_PATCH 0</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="group__version.html#ga7af1c603dc248e854fc773c26761ed83"> 33</a></span>&#160;<span class="preprocessor">#define UTL_VERSION_VALUE ( (UTL_VERSION_MAJOR * 10000) \</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor"> + (UTL_VERSION_MINOR * 100) \</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor"> + UTL_VERSION_PATCH)</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__version.html#ga01247740b4b51ce21e9bb3c3c602996d"> 38</a></span>&#160;<span class="preprocessor">#define CXX_VER __cplusplus</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="group__version.html#gabef125dbb6ab064efeef0491a2a43da6"> 39</a></span>&#160;<span class="preprocessor">#define CXX_VER_STD_11 201103L</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group__version.html#gaaa8cecbe78cff8d75dba25e39d5205f9"> 40</a></span>&#160;<span class="preprocessor">#define CXX_VER_STD_14 201402L</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group__version.html#ga20a6261e3bdd7cad0eb7850e29ddfbe0"> 41</a></span>&#160;<span class="preprocessor">#define CXX_VER_STD_17 201703L</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#ifndef CXX_VARIABLE_TEMPLATES</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor"> #ifdef __cpp_variable_templates</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor"> #define CXX_VARIABLE_TEMPLATES __cpp_variable_templates</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor"> #else</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group__version.html#gaa3f471a65b0eb6118e8a2cb547a46d7a"> 48</a></span>&#160;<span class="preprocessor"> #define CXX_VARIABLE_TEMPLATES (CXX_VER &gt;= CXX_VER_STD_14)</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"> #endif</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#ifndef CXX_CONCEPTS</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"> #ifdef __cpp_concepts</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor"> #define CXX_CONCEPTS __cpp_concepts</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor"> #else</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__version.html#ga80d0fb430c83076ebe61d619a7e606a9"> 57</a></span>&#160;<span class="preprocessor"> #define CXX_CONCEPTS 0</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"> #endif</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#ifndef CXX_INLINE_VARIABLES</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor"> #ifdef __cpp_inline_variables</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor"> #define CXX_INLINE_VARIABLES __cpp_inline_variables</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor"> #else</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group__version.html#gad7f44253df62ec7f9455af26507a289b"> 66</a></span>&#160;<span class="preprocessor"> #define CXX_INLINE_VARIABLES (CXX_VER &gt;= CXX_VER_STD_17)</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor"> #endif</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#ifndef CXX_FOLD_EXPRESSIONS</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor"> #ifdef __cpp_fold_expressions</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor"> #define CXX_FOLD_EXPRESSIONS __cpp_fold_expressions</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor"> #else</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__version.html#gad8bb48d6d660495b6eb3d4bbecd7ec26"> 74</a></span>&#160;<span class="preprocessor"> #define CXX_FOLD_EXPRESSIONS (CXX_VER &gt;= CXX_VER_STD_17)</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor"> #endif</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#endif</span></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;<span class="comment">/*</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="comment"> * Workaround inspections</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#if defined(__GNUC__) &amp;&amp; (__GNUC__ &lt; 5)</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="comment">// https://wg21.link/cwg1558</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor"> #define UTL_WORKAROUND_CWG_1558</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="preprocessor">#if CXX_VER &lt; CXX_VER_STD_14</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#error &quot;uTL requires C++14&quot;</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* #ifndef __utl_core_version_h__ */</span><span class="preprocessor"></span></div></div><!-- fragment --></div><!-- contents -->
  92. </div><!-- doc-content -->
  93. <!-- start footer part -->
  94. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  95. <ul>
  96. <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_5f9a51ed898ae26d530fbf5192dc35b6.html">core</a></li><li class="navelem"><a class="el" href="version_8h.html">version.h</a></li>
  97. <li class="footer">Generated by
  98. <a href="http://www.doxygen.org/index.html">
  99. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  100. </ul>
  101. </div>
  102. </body>
  103. </html>