|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: include/utl/container/array.h Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('array_8h_source.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="headertitle">
- <div class="title">array.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <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> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef __utl_container_array_h__</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define __utl_container_array_h__</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="impl_8h.html">utl/core/impl.h</a>></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <algorithm></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <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> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits.html"> 36</a></span>  <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>  <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> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605"> 39</a></span>  <span class="keyword">static</span> constexpr _Tp& <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>& t, <span class="keywordtype">size_t</span> n) noexcept {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span> <span class="keyword">const_cast<</span>_Tp&<span class="keyword">></span>(t[n]);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structutl_1_1array__traits.html#ac642d673d85d054616bb143326a9ea79"> 43</a></span>  <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>& t) noexcept {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> <span class="keyword">const_cast<</span>_Tp*<span class="keyword">></span>(t);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  };</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp></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>  <span class="keyword">struct </span><a class="code" href="structutl_1_1array__traits.html">array_traits</a><_Tp, 0> {</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>  <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> </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>  <span class="keyword">static</span> constexpr _Tp& <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>&, <span class="keywordtype">size_t</span>) noexcept {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">return</span> *<span class="keyword">static_cast<</span>_Tp*<span class="keyword">></span>(<span class="keyword">nullptr</span>);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </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>  <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>&) noexcept {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  };</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structutl_1_1array.html"> 77</a></span>  <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>  <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>  <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>  <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>  <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>&;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aab01825d62c21fcf252a64fbeda2bbc4"> 82</a></span>  <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>&;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a1cc94e09b75412ad9d7cf636b550ef2d"> 83</a></span>  <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>  <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>  <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>  <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>  <span class="keyword">using</span> <a class="code" href="structutl_1_1array.html#a777805d325ff4de41bdf0c81427a42d1">reverse_iterator</a> = std::reverse_iterator <iterator>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <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>  = std::reverse_iterator <const_iterator>;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// type and data</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">//using empty_t = array_traits<_Tp, 0>;</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#ae479687ad5c7259e5258c093bda99c89"> 93</a></span>  <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<_Tp, _Nm></a>;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a3c49a8073abb7072f4b902982789dedc"> 94</a></span>  <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> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <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> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <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>  <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>& 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> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a437559d71769318cc7289dce06659c39"> 101</a></span>  <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>& other) noexcept {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  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>  }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4b475a8e3d0c7cc41b251f08aef040f0"> 107</a></span>  <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>  <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>  <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>  <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>  <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>  <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> </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aeeca6bc1e57a142c30590d3c7dc134a5"> 114</a></span>  <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>  <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>  <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>  <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>  <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>  <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>  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>  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>  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> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a63373518cc6efade8c555ee1ebc1f754"> 132</a></span>  <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>  <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>  }</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4f91b2d8e9f4c2365d4d58cf1657ac95"> 136</a></span>  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>  <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>  }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#aa7ebc09a296077f0ee23919c92138801"> 144</a></span>  <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>  <span class="keywordflow">if</span> (n < _Nm)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <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>  <span class="keywordflow">else</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  abort (); <span class="comment">//XXX: Throw here</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a5525bc148cd57fdc41380593a9732ce7"> 151</a></span>  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>  static_assert ((n < _Nm), <span class="stringliteral">"array::at: out of range"</span>);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <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>  }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <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>  <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>  <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>  }</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a055c38b4345d1aa5bb8cc9172887165c"> 159</a></span>  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>  <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>  }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <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>  <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>  <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>  }</div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structutl_1_1array.html#a4a641f61dda90de1c93d3e62bf587bd3"> 167</a></span>  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>  <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>  : <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>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <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>  <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>  <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>  };</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="namespaceutl.html#a841f326020eb98fa4b8f764bf35442c0"> 181</a></span>  <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<_Tp, _Nm></a>& lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs) {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <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>  }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="namespaceutl.html#a45cd30dab2ec904b6fd64641d777b35e"> 186</a></span>  <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<_Tp, _Nm></a>& lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs) {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">return</span> !(lhs == rhs);</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="namespaceutl.html#a633f700b294b53e4f58183fd4bc6963f"> 191</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator< (const array<_Tp, _Nm>& lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs) {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <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>  }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="namespaceutl.html#a1d5c761bf59037aeed9157e4f63bed9e"> 196</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceutl.html#a1d5c761bf59037aeed9157e4f63bed9e">operator> </a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs) {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> rhs < lhs;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="namespaceutl.html#a36f9fadffe88aefcc2d37249eaf951c3"> 201</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator<= (const array<_Tp, _Nm>& lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs) {</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> !(lhs > rhs);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <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>  <a class="code" href="namespaceutl.html#a942cac675f6dd1313807eccb407ebec6">operator>= </a>(<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& lhs, <span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs) {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">return</span> !(lhs < rhs);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  }</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="comment">// Specialized algorithms.</span></div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">template</span><<span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="namespaceutl.html#ae0f873b4883af7cc18cb23dd2810f4e6"> 214</a></span>  <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<_Tp, _Nm></a>& lhs, <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& rhs)</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  noexcept (noexcept (lhs.swap(rhs))) {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  lhs.swap (rhs);</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">template</span><<span class="keywordtype">size_t</span> _Int, <span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546"> 220</a></span>  constexpr _Tp& <span class="keyword">get</span> (<a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& arr) noexcept {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  static_assert(_Int < _Nm, <span class="stringliteral">"Index is out of bounds"</span>);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_traits<_Tp, _Nm>::Ref</a>(arr._data, _Int);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keyword">template</span><<span class="keywordtype">size_t</span> _Int, <span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="namespaceutl.html#ab0087ff901c30848b7ac6f5ffa31f5cf"> 226</a></span>  constexpr _Tp&& <span class="keyword">get</span> (<a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>&& arr) noexcept {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  static_assert(_Int < _Nm, <span class="stringliteral">"Index is out of bounds"</span>);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">return</span> std::move(std::get<_Int>(arr));</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keyword">template</span><<span class="keywordtype">size_t</span> _Int, <span class="keyword">typename</span> _Tp, <span class="keywordtype">size_t</span> _Nm></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="namespaceutl.html#aad376ab583a0db920180465f9f35d67b"> 232</a></span>  constexpr <span class="keyword">const</span> _Tp& <span class="keyword">get</span> (<span class="keyword">const</span> <a class="code" href="structutl_1_1array.html">array<_Tp, _Nm></a>& arr) noexcept {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  static_assert(_Int < _Nm, <span class="stringliteral">"Index is out of bounds"</span>);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> <a class="code" href="structutl_1_1array__traits.html#a7a759b20a4dc743a66c3b1729358f605">array_traits<_Tp, _Nm>::Ref</a>(arr._data, _Int);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> } <span class="comment">// namespace utl</span></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <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>
- <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< _Tp, _Nm > &lhs, const array< _Tp, _Nm > &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00181">array.h:181</a></div></div>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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< _Tp, 0 >::Ref</a></div><div class="ttdeci">static constexpr _Tp & Ref(const type &, size_t) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00052">array.h:52</a></div></div>
- <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>
- <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>
- <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>
- <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>
- <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 &other) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00101">array.h:101</a></div></div>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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< const_iterator > const_reverse_iterator</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00089">array.h:89</a></div></div>
- <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>
- <div class="ttc" id="namespaceutl_html_a942cac675f6dd1313807eccb407ebec6"><div class="ttname"><a href="namespaceutl.html#a942cac675f6dd1313807eccb407ebec6">utl::operator>=</a></div><div class="ttdeci">bool operator>=(const array< _Tp, _Nm > &lhs, const array< _Tp, _Nm > &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00207">array.h:207</a></div></div>
- <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< iterator > reverse_iterator</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00087">array.h:87</a></div></div>
- <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< _Tp, 0 >::Ptr</a></div><div class="ttdeci">static constexpr _Tp * Ptr(const type &) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00056">array.h:56</a></div></div>
- <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>
- <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>
- <div class="ttc" id="namespaceutl_html"><div class="ttname"><a href="namespaceutl.html">utl</a></div><div class="ttdoc">STL&#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>
- <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>
- <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>
- <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>
- <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 &v)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00099">array.h:99</a></div></div>
- <div class="ttc" id="namespaceutl_html_a1d5c761bf59037aeed9157e4f63bed9e"><div class="ttname"><a href="namespaceutl.html#a1d5c761bf59037aeed9157e4f63bed9e">utl::operator></a></div><div class="ttdeci">bool operator>(const array< _Tp, _Nm > &lhs, const array< _Tp, _Nm > &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00196">array.h:196</a></div></div>
- <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>
- <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>
- <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 &t) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00043">array.h:43</a></div></div>
- <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>
- <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 & reference</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00081">array.h:81</a></div></div>
- <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>
- <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>
- <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< _Tp, _Nm > &lhs, const array< _Tp, _Nm > &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00186">array.h:186</a></div></div>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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< _Tp, _Nm > &lhs, array< _Tp, _Nm > &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>
- <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 & const_reference</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.html#l00082">array.h:82</a></div></div>
- <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>
- <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>
- <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 & Ref(const type &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>
- </div><!-- fragment --></div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <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>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|