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.
 
 
 
 

161 line
69 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/container/array.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('array_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">array.h</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <a href="array_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_container_array_h__</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define __utl_container_array_h__</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"> 24</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="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceutl.html">utl</a> {</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; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits.html"> 36</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1array__traits.html">array_traits</a> {</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909"> 37</a></span>&#160; <span class="keyword">typedef</span> _Tp <a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">type</a>[_Nm];</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"><a class="line" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605"> 39</a></span>&#160; <span class="keyword">static</span> constexpr _Tp&amp; <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">Ref</a> (<span class="keyword">const</span> <a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">type</a>&amp; t, <span class="keywordtype">size_t</span> n) noexcept {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordflow">return</span> <span class="keyword">const_cast&lt;</span>_Tp&amp;<span class="keyword">&gt;</span>(t[n]);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits.html#ac642d673d85d054616bb143326a9ea79"> 43</a></span>&#160; <span class="keyword">static</span> constexpr _Tp* <a class="code" href="structutl_1_1array__traits.html#ac642d673d85d054616bb143326a9ea79">Ptr</a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">type</a>&amp; t) noexcept {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordflow">return</span> <span class="keyword">const_cast&lt;</span>_Tp*<span class="keyword">&gt;</span>(t);</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; };</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp&gt;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html"> 49</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1array__traits.html">array_traits</a>&lt;_Tp, 0&gt; {</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits_3_01___tp_00_010_01_4_1_1type.html"> 50</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">type</a> { };</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"><a class="line" href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html#a3f90cb0fbb870fcc36fc6d404857032b"> 52</a></span>&#160; <span class="keyword">static</span> constexpr _Tp&amp; <a class="code" href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html#a3f90cb0fbb870fcc36fc6d404857032b">Ref</a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">type</a>&amp;, <span class="keywordtype">size_t</span>) noexcept {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">static_cast&lt;</span>_Tp*<span class="keyword">&gt;</span>(<span class="keyword">nullptr</span>);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html#ad5f207688e873862870d58889b2e5fec"> 56</a></span>&#160; <span class="keyword">static</span> constexpr _Tp* <a class="code" href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html#ad5f207688e873862870d58889b2e5fec">Ptr</a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">type</a>&amp;) noexcept {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; };</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structutl_1_1array.html"> 77</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1array.html">array</a> {</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223"> 78</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a> = _Tp;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a90f23795637ad96d367bf7d978f7e5e6"> 79</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a90f23795637ad96d367bf7d978f7e5e6">pointer</a> = <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>*;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a61ccd50cead4ae2041fa561b1cf4d79d"> 80</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a61ccd50cead4ae2041fa561b1cf4d79d">const_pointer</a> = <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>*;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4"> 81</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4">reference</a> = <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>&amp;;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4"> 82</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4">const_reference</a> = <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>&amp;;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d"> 83</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d">iterator</a> = <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>*;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a"> 84</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> = <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>*;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5"> 85</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> = <a class="code" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a7b0b7e9d236db2d3d90465fa6638d22b"> 86</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a7b0b7e9d236db2d3d90465fa6638d22b">difference_type</a> = <a class="code" href="namespaceutl.html#a1b83655ba00b548af9b51f169c6c567a">ptrdiff_t</a>;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1"> 87</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">reverse_iterator</a> = std::reverse_iterator &lt;iterator&gt;;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256"> 89</a></span>&#160; = std::reverse_iterator &lt;const_iterator&gt;;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="comment">// type and data</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="comment">//using empty_t = array_traits&lt;_Tp, 0&gt;;</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ae479687ad5c7259e5258c093bda99c89"> 93</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structutl_1_1array__traits.html">array_t</a> = <a class="code" href="structutl_1_1array__traits.html">array_traits&lt;_Tp, _Nm&gt;</a>;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc"> 94</a></span>&#160; <span class="keyword">typename</span> <a class="code" href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">array_t::type</a> <a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">// No explicit construct/copy/destroy for aggregate type.</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="comment">// DR 776.</span></div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a388a40a3a4450a562010859ef2286587"> 99</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structutl_1_1array.html#a388a40a3a4450a562010859ef2286587">fill</a> (<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">value_type</a>&amp; v) { std::fill_n (<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>(), <a class="code" href="structutl_1_1array.html#ab3fa3ca8c774c210a55dbd699ceb345b">size</a>(), v); }</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"><a class="line" href="structutl_1_1array.html#a437559d71769318cc7289dce06659c39"> 101</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structutl_1_1array.html#a437559d71769318cc7289dce06659c39">swap</a> (<a class="code" href="structutl_1_1array.html">array</a>&amp; other) noexcept {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; std::swap_ranges (<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>(), <a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>(), other.begin());</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0"> 107</a></span>&#160; <a class="code" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d">iterator</a> <a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>() noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d">iterator</a> (<a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a>()); }</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ae72df0eae3b306e0a5410d724665c27a"> 108</a></span>&#160; <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> <a class="code" href="structutl_1_1array.html#ae72df0eae3b306e0a5410d724665c27a">begin</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> (<a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a>()); }</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522"> 109</a></span>&#160; <a class="code" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d">iterator</a> <a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>() noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d">iterator</a> (<a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a>() + _Nm); }</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a7a0cf890bc35437821e35484a1fd8fc7"> 110</a></span>&#160; <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> <a class="code" href="structutl_1_1array.html#a7a0cf890bc35437821e35484a1fd8fc7">end</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> (<a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a>() + _Nm); }</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4b48e7c5d18ca4f48e187a727bad65f1"> 111</a></span>&#160; <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> <a class="code" href="structutl_1_1array.html#a4b48e7c5d18ca4f48e187a727bad65f1">cbegin</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> (<a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a>()); }</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a707a8e620497173544904f3d11324604"> 112</a></span>&#160; <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> <a class="code" href="structutl_1_1array.html#a707a8e620497173544904f3d11324604">cend</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">const_iterator</a> (<a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a>() + _Nm); }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aeeca6bc1e57a142c30590d3c7dc134a5"> 114</a></span>&#160; <a class="code" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">reverse_iterator</a> <a class="code" href="structutl_1_1array.html#aeeca6bc1e57a142c30590d3c7dc134a5">rbegin</a>() noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">reverse_iterator</a> (<a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>()); }</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a322f008d90c279fc4170d3ae679d13ea"> 115</a></span>&#160; <a class="code" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">reverse_iterator</a> <a class="code" href="structutl_1_1array.html#a322f008d90c279fc4170d3ae679d13ea">rend</a>() noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">reverse_iterator</a> (<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>()); }</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a921a4f2e174c274f26189f89d38187ca"> 116</a></span>&#160; <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> <a class="code" href="structutl_1_1array.html#a921a4f2e174c274f26189f89d38187ca">rbegin</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> (<a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>()); }</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ac46fe45806b4328b6bed1fb1313818a2"> 117</a></span>&#160; <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> <a class="code" href="structutl_1_1array.html#ac46fe45806b4328b6bed1fb1313818a2">rend</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> (<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>()); }</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#afdac98eac4c6edc09f478af083029eec"> 118</a></span>&#160; <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> <a class="code" href="structutl_1_1array.html#afdac98eac4c6edc09f478af083029eec">crbegin</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> (<a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>()); }</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#abcdc4718426e62fec38c380a4221b144"> 119</a></span>&#160; <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> <a class="code" href="structutl_1_1array.html#abcdc4718426e62fec38c380a4221b144">crend</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">const_reverse_iterator</a> (<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>()); }</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ab3fa3ca8c774c210a55dbd699ceb345b"> 123</a></span>&#160; constexpr <a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> <a class="code" href="structutl_1_1array.html#ab3fa3ca8c774c210a55dbd699ceb345b">size</a>() const noexcept { <span class="keywordflow">return</span> _Nm; }</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ae9145a3585ab42ad57d232863f0445dc"> 124</a></span>&#160; constexpr <a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> <a class="code" href="structutl_1_1array.html#ae9145a3585ab42ad57d232863f0445dc">max_size</a>() const noexcept { <span class="keywordflow">return</span> _Nm; }</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ac919fc992acdda9b562f5fc6414552b6"> 125</a></span>&#160; constexpr <span class="keywordtype">bool</span> <a class="code" href="structutl_1_1array.html#ac919fc992acdda9b562f5fc6414552b6">empty</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array.html#ab3fa3ca8c774c210a55dbd699ceb345b">size</a>() == 0; }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a63373518cc6efade8c555ee1ebc1f754"> 132</a></span>&#160; <a class="code" href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4">reference</a> <a class="code" href="structutl_1_1array.html#a63373518cc6efade8c555ee1ebc1f754">operator[] </a>(<a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> n) noexcept {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, n);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; }</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4f91b2d8e9f4c2365d4d58cf1657ac95"> 136</a></span>&#160; constexpr <a class="code" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4">const_reference</a> <a class="code" href="structutl_1_1array.html#a4f91b2d8e9f4c2365d4d58cf1657ac95">operator[]</a>(<a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> n) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, n);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aa7ebc09a296077f0ee23919c92138801"> 144</a></span>&#160; <a class="code" href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4">reference</a> <a class="code" href="structutl_1_1array.html#aa7ebc09a296077f0ee23919c92138801">at</a> (<a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> n) noexcept {</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordflow">if</span> (n &lt; _Nm)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, n);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; abort (); <span class="comment">//XXX: Throw here</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; }</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a5525bc148cd57fdc41380593a9732ce7"> 151</a></span>&#160; constexpr <a class="code" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4">const_reference</a> <a class="code" href="structutl_1_1array.html#a5525bc148cd57fdc41380593a9732ce7">at</a> (<a class="code" href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">size_type</a> n) <span class="keyword">const</span> noexcept {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; static_assert ((n &lt; _Nm), <span class="stringliteral">&quot;array::at: out of range&quot;</span>);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, n);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">// first item</span></div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a3f325450d5240f982b2b712d72f9a411"> 156</a></span>&#160; <a class="code" href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4">reference</a> <a class="code" href="structutl_1_1array.html#a3f325450d5240f982b2b712d72f9a411">front</a> () noexcept {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">return</span> *<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a> ();</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; }</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a055c38b4345d1aa5bb8cc9172887165c"> 159</a></span>&#160; constexpr <a class="code" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4">const_reference</a> <a class="code" href="structutl_1_1array.html#a055c38b4345d1aa5bb8cc9172887165c">front</a>() const noexcept {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, 0);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="comment">// Last item</span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a5cd956a1087ce3652c79b36316f5875b"> 164</a></span>&#160; <a class="code" href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4">reference</a> <a class="code" href="structutl_1_1array.html#a5cd956a1087ce3652c79b36316f5875b">back</a> () noexcept {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">return</span> _Nm ? *(<a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>() - 1) : *<a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>();</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; }</div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4a641f61dda90de1c93d3e62bf587bd3"> 167</a></span>&#160; constexpr <a class="code" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4">const_reference</a> <a class="code" href="structutl_1_1array.html#a4a641f61dda90de1c93d3e62bf587bd3">back</a> () const noexcept {</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordflow">return</span> _Nm ? <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, _Nm - 1)</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; : <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_t::Ref</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>, 0);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">// Pointer to data</span></div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6"> 173</a></span>&#160; <a class="code" href="structutl_1_1array.html#a90f23795637ad96d367bf7d978f7e5e6">pointer</a> <a class="code" href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">data</a> () noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#ac642d673d85d054616bb143326a9ea79">array_t::Ptr</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>); }</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a07bb0f3b54805d733e97025e68f8bcbc"> 174</a></span>&#160; <a class="code" href="structutl_1_1array.html#a61ccd50cead4ae2041fa561b1cf4d79d">const_pointer</a> <a class="code" href="structutl_1_1array.html#a07bb0f3b54805d733e97025e68f8bcbc">data</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#ac642d673d85d054616bb143326a9ea79">array_t::Ptr</a>(<a class="code" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">_data</a>); }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; };</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="namespaceutl.html#a841f326020eb98fa4b8f764bf35442c0"> 181</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceutl.html#a841f326020eb98fa4b8f764bf35442c0">operator== </a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">return</span> std::equal (lhs.<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>(), lhs.<a class="code" href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">end</a>(), rhs.<a class="code" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">begin</a>());</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="namespaceutl.html#a45cd30dab2ec904b6fd64641d777b35e"> 186</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceutl.html#a45cd30dab2ec904b6fd64641d777b35e">operator!= </a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordflow">return</span> !(lhs == rhs);</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; }</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="namespaceutl.html#a633f700b294b53e4f58183fd4bc6963f"> 191</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator&lt; (const array&lt;_Tp, _Nm&gt;&amp; lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">return</span> std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</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> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="namespaceutl.html#a1d5c761bf59037aeed9157e4f63bed9e"> 196</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceutl.html#a1d5c761bf59037aeed9157e4f63bed9e">operator&gt; </a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordflow">return</span> rhs &lt; lhs;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="namespaceutl.html#a36f9fadffe88aefcc2d37249eaf951c3"> 201</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator&lt;= (const array&lt;_Tp, _Nm&gt;&amp; lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordflow">return</span> !(lhs &gt; rhs);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="namespaceutl.html#a942cac675f6dd1313807eccb407ebec6"> 207</a></span>&#160; <a class="code" href="namespaceutl.html#a942cac675f6dd1313807eccb407ebec6">operator&gt;= </a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">return</span> !(lhs &lt; rhs);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; }</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="comment">// Specialized algorithms.</span></div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="namespaceutl.html#ae0f873b4883af7cc18cb23dd2810f4e6"> 214</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl.html#ae0f873b4883af7cc18cb23dd2810f4e6">swap</a> (<a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; lhs, <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; rhs)</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; noexcept (noexcept (lhs.swap(rhs))) {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; lhs.swap (rhs);</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; }</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keyword">template</span>&lt;<span class="keywordtype">size_t</span> _Int, <span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546"> 220</a></span>&#160; constexpr _Tp&amp; <span class="keyword">get</span> (<a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; arr) noexcept {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; static_assert(_Int &lt; _Nm, <span class="stringliteral">&quot;Index is out of bounds&quot;</span>);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_traits&lt;_Tp, _Nm&gt;::Ref</a>(arr._data, _Int);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keyword">template</span>&lt;<span class="keywordtype">size_t</span> _Int, <span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="namespaceutl.html#ab0087ff901c30848b7ac6f5ffa31f5cf"> 226</a></span>&#160; constexpr _Tp&amp;&amp; <span class="keyword">get</span> (<a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp;&amp; arr) noexcept {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; static_assert(_Int &lt; _Nm, <span class="stringliteral">&quot;Index is out of bounds&quot;</span>);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">return</span> std::move(std::get&lt;_Int&gt;(arr));</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keyword">template</span>&lt;<span class="keywordtype">size_t</span> _Int, <span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm&gt;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="namespaceutl.html#aad376ab583a0db920180465f9f35d67b"> 232</a></span>&#160; constexpr <span class="keyword">const</span> _Tp&amp; <span class="keyword">get</span> (<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array&lt;_Tp, _Nm&gt;</a>&amp; arr) noexcept {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; static_assert(_Int &lt; _Nm, <span class="stringliteral">&quot;Index is out of bounds&quot;</span>);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_traits&lt;_Tp, _Nm&gt;::Ref</a>(arr._data, _Int);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;} <span class="comment">// namespace utl</span></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __utl_continer_array_h__ */</span><span class="preprocessor"></span></div><div class="ttc" id="structutl_1_1array_html_a707a8e620497173544904f3d11324604"><div class="ttname"><a href="structutl_1_1array.html#a707a8e620497173544904f3d11324604">utl::array::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00112">array.h:112</a></div></div>
  92. <div class="ttc" id="namespaceutl_html_a841f326020eb98fa4b8f764bf35442c0"><div class="ttname"><a href="namespaceutl.html#a841f326020eb98fa4b8f764bf35442c0">utl::operator==</a></div><div class="ttdeci">bool operator==(const array&lt; _Tp, _Nm &gt; &amp;lhs, const array&lt; _Tp, _Nm &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00181">array.h:181</a></div></div>
  93. <div class="ttc" id="structutl_1_1array_html_a3f325450d5240f982b2b712d72f9a411"><div class="ttname"><a href="structutl_1_1array.html#a3f325450d5240f982b2b712d72f9a411">utl::array::front</a></div><div class="ttdeci">reference front() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00156">array.h:156</a></div></div>
  94. <div class="ttc" id="structutl_1_1array_html_a7b0b7e9d236db2d3d90465fa6638d22b"><div class="ttname"><a href="structutl_1_1array.html#a7b0b7e9d236db2d3d90465fa6638d22b">utl::array::difference_type</a></div><div class="ttdeci">ptrdiff_t difference_type</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00086">array.h:86</a></div></div>
  95. <div class="ttc" id="structutl_1_1array_html"><div class="ttname"><a href="structutl_1_1array.html">utl::array</a></div><div class="ttdoc">A standard container for storing a fixed size sequence of elements. </div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00077">array.h:77</a></div></div>
  96. <div class="ttc" id="structutl_1_1array_html_a4f91b2d8e9f4c2365d4d58cf1657ac95"><div class="ttname"><a href="structutl_1_1array.html#a4f91b2d8e9f4c2365d4d58cf1657ac95">utl::array::operator[]</a></div><div class="ttdeci">constexpr const_reference operator[](size_type n) const noexcept</div><div class="ttdoc">Operator [] for const. </div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00136">array.h:136</a></div></div>
  97. <div class="ttc" id="structutl_1_1array_html_a322f008d90c279fc4170d3ae679d13ea"><div class="ttname"><a href="structutl_1_1array.html#a322f008d90c279fc4170d3ae679d13ea">utl::array::rend</a></div><div class="ttdeci">reverse_iterator rend() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00115">array.h:115</a></div></div>
  98. <div class="ttc" id="structutl_1_1array_html_a3c49a8073abb7072f4b902982789dedc"><div class="ttname"><a href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc">utl::array::_data</a></div><div class="ttdeci">array_t::type _data</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00094">array.h:94</a></div></div>
  99. <div class="ttc" id="structutl_1_1array_html_a90f23795637ad96d367bf7d978f7e5e6"><div class="ttname"><a href="structutl_1_1array.html#a90f23795637ad96d367bf7d978f7e5e6">utl::array::pointer</a></div><div class="ttdeci">value_type * pointer</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00079">array.h:79</a></div></div>
  100. <div class="ttc" id="structutl_1_1array__traits_3_01___tp_00_010_01_4_html_a3f90cb0fbb870fcc36fc6d404857032b"><div class="ttname"><a href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html#a3f90cb0fbb870fcc36fc6d404857032b">utl::array_traits&lt; _Tp, 0 &gt;::Ref</a></div><div class="ttdeci">static constexpr _Tp &amp; Ref(const type &amp;, size_t) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00052">array.h:52</a></div></div>
  101. <div class="ttc" id="structutl_1_1array_html_a7a0cf890bc35437821e35484a1fd8fc7"><div class="ttname"><a href="structutl_1_1array.html#a7a0cf890bc35437821e35484a1fd8fc7">utl::array::end</a></div><div class="ttdeci">const_iterator end() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00110">array.h:110</a></div></div>
  102. <div class="ttc" id="structutl_1_1array_html_a07bb0f3b54805d733e97025e68f8bcbc"><div class="ttname"><a href="structutl_1_1array.html#a07bb0f3b54805d733e97025e68f8bcbc">utl::array::data</a></div><div class="ttdeci">const_pointer data() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00174">array.h:174</a></div></div>
  103. <div class="ttc" id="structutl_1_1array_html_ac919fc992acdda9b562f5fc6414552b6"><div class="ttname"><a href="structutl_1_1array.html#ac919fc992acdda9b562f5fc6414552b6">utl::array::empty</a></div><div class="ttdeci">constexpr bool empty() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00125">array.h:125</a></div></div>
  104. <div class="ttc" id="structutl_1_1array_html_a32e4367239fb6fc2f9b0c700ef4e0de6"><div class="ttname"><a href="structutl_1_1array.html#a32e4367239fb6fc2f9b0c700ef4e0de6">utl::array::data</a></div><div class="ttdeci">pointer data() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00173">array.h:173</a></div></div>
  105. <div class="ttc" id="structutl_1_1array_html_a437559d71769318cc7289dce06659c39"><div class="ttname"><a href="structutl_1_1array.html#a437559d71769318cc7289dce06659c39">utl::array::swap</a></div><div class="ttdeci">void swap(array &amp;other) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00101">array.h:101</a></div></div>
  106. <div class="ttc" id="structutl_1_1array_html_a921a4f2e174c274f26189f89d38187ca"><div class="ttname"><a href="structutl_1_1array.html#a921a4f2e174c274f26189f89d38187ca">utl::array::rbegin</a></div><div class="ttdeci">const_reverse_iterator rbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00116">array.h:116</a></div></div>
  107. <div class="ttc" id="structutl_1_1array_html_a76158e0e9b7c019fe69ead7cd4800522"><div class="ttname"><a href="structutl_1_1array.html#a76158e0e9b7c019fe69ead7cd4800522">utl::array::end</a></div><div class="ttdeci">iterator end() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00109">array.h:109</a></div></div>
  108. <div class="ttc" id="structutl_1_1array_html_a5cd956a1087ce3652c79b36316f5875b"><div class="ttname"><a href="structutl_1_1array.html#a5cd956a1087ce3652c79b36316f5875b">utl::array::back</a></div><div class="ttdeci">reference back() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00164">array.h:164</a></div></div>
  109. <div class="ttc" id="structutl_1_1array_html_afdac98eac4c6edc09f478af083029eec"><div class="ttname"><a href="structutl_1_1array.html#afdac98eac4c6edc09f478af083029eec">utl::array::crbegin</a></div><div class="ttdeci">const_reverse_iterator crbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00118">array.h:118</a></div></div>
  110. <div class="ttc" id="structutl_1_1array_html_ac46fe45806b4328b6bed1fb1313818a2"><div class="ttname"><a href="structutl_1_1array.html#ac46fe45806b4328b6bed1fb1313818a2">utl::array::rend</a></div><div class="ttdeci">const_reverse_iterator rend() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00117">array.h:117</a></div></div>
  111. <div class="ttc" id="namespaceutl_html_a1b83655ba00b548af9b51f169c6c567a"><div class="ttname"><a href="namespaceutl.html#a1b83655ba00b548af9b51f169c6c567a">utl::ptrdiff_t</a></div><div class="ttdeci">std::ptrdiff_t ptrdiff_t</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00040">types.h:40</a></div></div>
  112. <div class="ttc" id="structutl_1_1array_html_ab1b4f132f7babac61535fe1f7634089a"><div class="ttname"><a href="structutl_1_1array.html#ab1b4f132f7babac61535fe1f7634089a">utl::array::const_iterator</a></div><div class="ttdeci">const value_type * const_iterator</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00084">array.h:84</a></div></div>
  113. <div class="ttc" id="structutl_1_1array__traits_html"><div class="ttname"><a href="structutl_1_1array__traits.html">utl::array_traits</a></div><div class="ttdoc">array container traits helper </div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00036">array.h:36</a></div></div>
  114. <div class="ttc" id="structutl_1_1array_html_a2870f89643a20193a2fc420476833256"><div class="ttname"><a href="structutl_1_1array.html#a2870f89643a20193a2fc420476833256">utl::array::const_reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; const_iterator &gt; const_reverse_iterator</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00089">array.h:89</a></div></div>
  115. <div class="ttc" id="structutl_1_1array_html_a61ccd50cead4ae2041fa561b1cf4d79d"><div class="ttname"><a href="structutl_1_1array.html#a61ccd50cead4ae2041fa561b1cf4d79d">utl::array::const_pointer</a></div><div class="ttdeci">const value_type * const_pointer</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00080">array.h:80</a></div></div>
  116. <div class="ttc" id="namespaceutl_html_a942cac675f6dd1313807eccb407ebec6"><div class="ttname"><a href="namespaceutl.html#a942cac675f6dd1313807eccb407ebec6">utl::operator&gt;=</a></div><div class="ttdeci">bool operator&gt;=(const array&lt; _Tp, _Nm &gt; &amp;lhs, const array&lt; _Tp, _Nm &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00207">array.h:207</a></div></div>
  117. <div class="ttc" id="structutl_1_1array_html_a777805d325ff4de41bdf0c81427a42d1"><div class="ttname"><a href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">utl::array::reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; iterator &gt; reverse_iterator</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00087">array.h:87</a></div></div>
  118. <div class="ttc" id="structutl_1_1array__traits_3_01___tp_00_010_01_4_html_ad5f207688e873862870d58889b2e5fec"><div class="ttname"><a href="structutl_1_1array__traits_3_01___tp_00_010_01_4.html#ad5f207688e873862870d58889b2e5fec">utl::array_traits&lt; _Tp, 0 &gt;::Ptr</a></div><div class="ttdeci">static constexpr _Tp * Ptr(const type &amp;) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00056">array.h:56</a></div></div>
  119. <div class="ttc" id="namespaceutl_html_a22cbecb50ee5c1032de66133e96cbac6"><div class="ttname"><a href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">utl::size_t</a></div><div class="ttdeci">std::size_t size_t</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00037">types.h:37</a></div></div>
  120. <div class="ttc" id="structutl_1_1array_html_a4a641f61dda90de1c93d3e62bf587bd3"><div class="ttname"><a href="structutl_1_1array.html#a4a641f61dda90de1c93d3e62bf587bd3">utl::array::back</a></div><div class="ttdeci">constexpr const_reference back() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00167">array.h:167</a></div></div>
  121. <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>
  122. <div class="ttc" id="structutl_1_1array_html_a2486d9a16559e5edbf8c0f6457cc1223"><div class="ttname"><a href="structutl_1_1array.html#a2486d9a16559e5edbf8c0f6457cc1223">utl::array::value_type</a></div><div class="ttdeci">_Tp value_type</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00078">array.h:78</a></div></div>
  123. <div class="ttc" id="structutl_1_1array_html_aa7ebc09a296077f0ee23919c92138801"><div class="ttname"><a href="structutl_1_1array.html#aa7ebc09a296077f0ee23919c92138801">utl::array::at</a></div><div class="ttdeci">reference at(size_type n) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00144">array.h:144</a></div></div>
  124. <div class="ttc" id="structutl_1_1array_html_a63373518cc6efade8c555ee1ebc1f754"><div class="ttname"><a href="structutl_1_1array.html#a63373518cc6efade8c555ee1ebc1f754">utl::array::operator[]</a></div><div class="ttdeci">reference operator[](size_type n) noexcept</div><div class="ttdoc">Operator []. </div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00132">array.h:132</a></div></div>
  125. <div class="ttc" id="structutl_1_1array_html_a388a40a3a4450a562010859ef2286587"><div class="ttname"><a href="structutl_1_1array.html#a388a40a3a4450a562010859ef2286587">utl::array::fill</a></div><div class="ttdeci">void fill(const value_type &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00099">array.h:99</a></div></div>
  126. <div class="ttc" id="namespaceutl_html_a1d5c761bf59037aeed9157e4f63bed9e"><div class="ttname"><a href="namespaceutl.html#a1d5c761bf59037aeed9157e4f63bed9e">utl::operator&gt;</a></div><div class="ttdeci">bool operator&gt;(const array&lt; _Tp, _Nm &gt; &amp;lhs, const array&lt; _Tp, _Nm &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00196">array.h:196</a></div></div>
  127. <div class="ttc" id="structutl_1_1array_html_a5525bc148cd57fdc41380593a9732ce7"><div class="ttname"><a href="structutl_1_1array.html#a5525bc148cd57fdc41380593a9732ce7">utl::array::at</a></div><div class="ttdeci">constexpr const_reference at(size_type n) const noexcept</div><div class="ttdoc">Compile time boundary check dereference operator. </div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00151">array.h:151</a></div></div>
  128. <div class="ttc" id="structutl_1_1array_html_aeeca6bc1e57a142c30590d3c7dc134a5"><div class="ttname"><a href="structutl_1_1array.html#aeeca6bc1e57a142c30590d3c7dc134a5">utl::array::rbegin</a></div><div class="ttdeci">reverse_iterator rbegin() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00114">array.h:114</a></div></div>
  129. <div class="ttc" id="structutl_1_1array__traits_html_ac642d673d85d054616bb143326a9ea79"><div class="ttname"><a href="structutl_1_1array__traits.html#ac642d673d85d054616bb143326a9ea79">utl::array_traits::Ptr</a></div><div class="ttdeci">static constexpr _Tp * Ptr(const type &amp;t) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00043">array.h:43</a></div></div>
  130. <div class="ttc" id="structutl_1_1array_html_ab3fa3ca8c774c210a55dbd699ceb345b"><div class="ttname"><a href="structutl_1_1array.html#ab3fa3ca8c774c210a55dbd699ceb345b">utl::array::size</a></div><div class="ttdeci">constexpr size_type size() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00123">array.h:123</a></div></div>
  131. <div class="ttc" id="structutl_1_1array_html_a054dd1ab28d43ec0676dbe2056f63cf4"><div class="ttname"><a href="structutl_1_1array.html#a054dd1ab28d43ec0676dbe2056f63cf4">utl::array::reference</a></div><div class="ttdeci">value_type &amp; reference</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00081">array.h:81</a></div></div>
  132. <div class="ttc" id="structutl_1_1array_html_abcdc4718426e62fec38c380a4221b144"><div class="ttname"><a href="structutl_1_1array.html#abcdc4718426e62fec38c380a4221b144">utl::array::crend</a></div><div class="ttdeci">const_reverse_iterator crend() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00119">array.h:119</a></div></div>
  133. <div class="ttc" id="structutl_1_1array_html_a4b475a8e3d0c7cc41b251f08aef040f0"><div class="ttname"><a href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0">utl::array::begin</a></div><div class="ttdeci">iterator begin() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00107">array.h:107</a></div></div>
  134. <div class="ttc" id="namespaceutl_html_a45cd30dab2ec904b6fd64641d777b35e"><div class="ttname"><a href="namespaceutl.html#a45cd30dab2ec904b6fd64641d777b35e">utl::operator!=</a></div><div class="ttdeci">bool operator!=(const array&lt; _Tp, _Nm &gt; &amp;lhs, const array&lt; _Tp, _Nm &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00186">array.h:186</a></div></div>
  135. <div class="ttc" id="structutl_1_1array_html_a055c38b4345d1aa5bb8cc9172887165c"><div class="ttname"><a href="structutl_1_1array.html#a055c38b4345d1aa5bb8cc9172887165c">utl::array::front</a></div><div class="ttdeci">constexpr const_reference front() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00159">array.h:159</a></div></div>
  136. <div class="ttc" id="structutl_1_1array_html_a4b48e7c5d18ca4f48e187a727bad65f1"><div class="ttname"><a href="structutl_1_1array.html#a4b48e7c5d18ca4f48e187a727bad65f1">utl::array::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00111">array.h:111</a></div></div>
  137. <div class="ttc" id="structutl_1_1array_html_aab1bf2f35917b742e5d79ddcab335ef5"><div class="ttname"><a href="structutl_1_1array.html#aab1bf2f35917b742e5d79ddcab335ef5">utl::array::size_type</a></div><div class="ttdeci">size_t size_type</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00085">array.h:85</a></div></div>
  138. <div class="ttc" id="structutl_1_1array_html_ae9145a3585ab42ad57d232863f0445dc"><div class="ttname"><a href="structutl_1_1array.html#ae9145a3585ab42ad57d232863f0445dc">utl::array::max_size</a></div><div class="ttdeci">constexpr size_type max_size() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00124">array.h:124</a></div></div>
  139. <div class="ttc" id="structutl_1_1array_html_ae72df0eae3b306e0a5410d724665c27a"><div class="ttname"><a href="structutl_1_1array.html#ae72df0eae3b306e0a5410d724665c27a">utl::array::begin</a></div><div class="ttdeci">const_iterator begin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00108">array.h:108</a></div></div>
  140. <div class="ttc" id="structutl_1_1array__traits_html_a297f692ae07fd5c9b02a989fe5736909"><div class="ttname"><a href="structutl_1_1array__traits.html#a297f692ae07fd5c9b02a989fe5736909">utl::array_traits::type</a></div><div class="ttdeci">_Tp type[_Nm]</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00037">array.h:37</a></div></div>
  141. <div class="ttc" id="namespaceutl_html_ae0f873b4883af7cc18cb23dd2810f4e6"><div class="ttname"><a href="namespaceutl.html#ae0f873b4883af7cc18cb23dd2810f4e6">utl::swap</a></div><div class="ttdeci">void swap(array&lt; _Tp, _Nm &gt; &amp;lhs, array&lt; _Tp, _Nm &gt; &amp;rhs) noexcept(noexcept(lhs.swap(rhs)))</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00214">array.h:214</a></div></div>
  142. <div class="ttc" id="structutl_1_1array_html_aab01825d62c21fcf252a64fbeda2bbc4"><div class="ttname"><a href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4">utl::array::const_reference</a></div><div class="ttdeci">const value_type &amp; const_reference</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00082">array.h:82</a></div></div>
  143. <div class="ttc" id="structutl_1_1array_html_a1cc94e09b75412ad9d7cf636b550ef2d"><div class="ttname"><a href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d">utl::array::iterator</a></div><div class="ttdeci">value_type * iterator</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00083">array.h:83</a></div></div>
  144. <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>
  145. <div class="ttc" id="structutl_1_1array__traits_html_a7a759b20a4dc743a66c3b1729358f605"><div class="ttname"><a href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">utl::array_traits::Ref</a></div><div class="ttdeci">static constexpr _Tp &amp; Ref(const type &amp;t, size_t n) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00039">array.h:39</a></div></div>
  146. </div><!-- fragment --></div><!-- contents -->
  147. </div><!-- doc-content -->
  148. <!-- start footer part -->
  149. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  150. <ul>
  151. <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_2b272fa693f0990de7cf333b4d9023f8.html">container</a></li><li class="navelem"><a class="el" href="array_8h.html">array.h</a></li>
  152. <li class="footer">Generated by
  153. <a href="http://www.doxygen.org/index.html">
  154. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  155. </ul>
  156. </div>
  157. </body>
  158. </html>