|
- <!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/dev/idx_dev.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('idx__dev_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">idx_dev.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="idx__dev_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="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef __utl_dev_idx_dev_h__</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define __utl_dev_idx_dev_h__</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="impl_8h.html">utl/core/impl.h</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="crtp_8h.html">utl/core/crtp.h</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="dev__iterators_8h.html">utl/dev/dev_iterators.h</a>></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="meta_8h.html">utl/meta/meta.h</a>></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="namespaceutl.html">utl</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> impl_t, <span class="keyword">typename</span> data_t, <span class="keyword">typename</span> <span class="keywordtype">id</span>x_t, <span class="keywordtype">size_t</span> N></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html"> 56</a></span>  <span class="keyword">class </span><a class="code" href="classutl_1_1idx__dev.html">idx_dev</a> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classutl_1_1idx__dev.html#a814222014cab41a11fa8b2040e50310d">_CRTP_IMPL</a>(impl_t);</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6"> 58</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a> = <a class="code" href="classutl_1_1idx__dev.html">idx_dev <impl_t, data_t, idx_t, N></a>; </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>  <span class="keyword">public</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#ace7a74e439972658d6006f83371ee0ca"> 62</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html#ace7a74e439972658d6006f83371ee0ca">data_type</a> = data_t;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#acf054246b0c7c8be0a676fc1cf2b090c"> 63</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html#acf054246b0c7c8be0a676fc1cf2b090c">pointer_type</a>= data_t*;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#aa8055ff3787876f243710ff194c7b8d0"> 64</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html#aa8055ff3787876f243710ff194c7b8d0">idx_type</a> = idx_t;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a6cdcb1da82a0047d990ee6bce8b6c32b"> 66</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html">type</a> = <a class="code" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">idx_dev_t</a>; </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classutl_1_1idx__dev.html#ac7fc9b499b2c4b73769b68d10181b08b">~idx_dev</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classutl_1_1idx__dev.html#a90c6f576acb2a1ced3e973864d5d61b1">idx_dev</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classutl_1_1idx__dev.html#a90c6f576acb2a1ced3e973864d5d61b1">idx_dev</a>(<span class="keyword">const</span> <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>&) = <span class="keyword">delete</span>; </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#ac817369b5efb068d648328320a9cf6a4">operator= </a>(<span class="keyword">const</span> <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>&) = <span class="keyword">delete</span>; </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4"> 82</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data_t& data, idx_t idx) { <span class="keywordflow">return</span> impl().get_(data, idx); }</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a268d9f5940e7621affca5bffde8830b9"> 83</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#a268d9f5940e7621affca5bffde8830b9">get_</a> (data_t* data, <span class="keywordtype">size_t</span> n, idx_t idx) { <span class="keywordflow">return</span> impl().get_(data, n, idx); }</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d"> 84</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (<span class="keyword">const</span> data_t& data, idx_t idx) { <span class="keywordflow">return</span> impl().put_(data, idx); }</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#aef5b7b2d58b2502ea7e60cfc9835e9b6"> 85</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#aef5b7b2d58b2502ea7e60cfc9835e9b6">put_</a> (<span class="keyword">const</span> data_t* data, <span class="keywordtype">size_t</span> n, idx_t idx) { <span class="keywordflow">return</span> impl().put_ (data, n, idx); }</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5"> 86</a></span>  idx_t <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> impl().cursor_(); }</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#aa72ce1d299e2e994b811f127e7ce133f"> 87</a></span>  <span class="keywordtype">void</span> <a class="code" href="classutl_1_1idx__dev.html#aa72ce1d299e2e994b811f127e7ce133f">cursor_</a> (idx_t idx) { impl().cursor_(idx); }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a04f9404d7741c3c6ac421c530dfe867c"> 104</a></span>  <span class="keywordtype">size_t</span> <span class="keyword">get</span> (data_t& data, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#aeef118cb863218cb2b5a1e8bb2dba600"> 116</a></span>  <span class="keywordtype">size_t</span> <span class="keyword">get</span> (data_t* data, <span class="keywordtype">size_t</span> n, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data, n, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#af588d605d6968164cca3e348b5363613"> 129</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#af588d605d6968164cca3e348b5363613">put</a> (<span class="keyword">const</span> data_t& data, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (data, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  }</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a4d91ec798d3bf0da54467b4a394da839"> 141</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#a4d91ec798d3bf0da54467b4a394da839">put</a> (<span class="keyword">const</span> data_t* data, <span class="keywordtype">size_t</span> n, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (data, n, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5"> 149</a></span>  idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>(); }</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#ab49339f7ff0608ab460f0883224acb3c"> 156</a></span>  idx_t <a class="code" href="classutl_1_1idx__dev.html#ab49339f7ff0608ab460f0883224acb3c">cursor</a> (idx_t idx) { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>(idx); }</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Dst_t></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a"> 170</a></span>  <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">operator>> </a>(_Dst_t& dst) {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  static_assert ((<span class="keyword">sizeof</span> (_Dst_t)%<span class="keyword">sizeof</span>(data_t) == 0),</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="stringliteral">"Target size must be a integer multiple of device's data size"</span>);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (reinterpret_cast<data_t*>(&dst), <span class="keyword">sizeof</span>(_Dst_t)/<span class="keyword">sizeof</span>(data_t), <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Dst_t></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <a class="code" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">operator>> </a>(_Dst_t* dst) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a3480680f94fcb06f9ee8b2e5dcdb4dcd"> 181</a></span>  <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">operator>> </a>(data_t& dst) {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (dst, <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Src_t></div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907"> 198</a></span>  <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">operator<< </a>(_Src_t& src) {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  static_assert ((<span class="keyword">sizeof</span> (_Src_t)%<span class="keyword">sizeof</span>(data_t) == 0),</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="stringliteral">"Source size must be a integer multiple of device's data size"</span>);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (reinterpret_cast<data_t*>(&src), <span class="keyword">sizeof</span> (_Src_t)/<span class="keyword">sizeof</span>(data_t), <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Src_t></div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">operator<< </a>(_Src_t* src) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#ad1c24182de1432f4d43eaa69db7aaec7"> 209</a></span>  <a class="code" href="classutl_1_1idx__dev.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">operator<< </a>(<span class="keyword">const</span> data_t& src) {</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (src, <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  }</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  data_t& <a class="code" href="classutl_1_1idx__dev.html#a5e0d647ad1cc5533e4f70292d8793a9f">operator[] </a>(<span class="keyword">const</span> idx_t idx) {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a> it(<span class="keyword">this</span>, idx);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">return</span> *it;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a"> 230</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a> = idxdev_it <idx_dev_t, data_t*, N>; </div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510"> 231</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a> = idxdev_it <idx_dev_t, const data_t*, N>; </div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a83b186ed15e9bbe1e5d53e3941d517a7"> 234</a></span>  <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a> <a class="code" href="classutl_1_1idx__dev.html#a83b186ed15e9bbe1e5d53e3941d517a7">begin</a> () noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a>(<span class="keyword">this</span>, iterator::beg); }</div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#ad456ced43be8ab4fb9a66840afa030f7"> 235</a></span>  <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a> <a class="code" href="classutl_1_1idx__dev.html#ad456ced43be8ab4fb9a66840afa030f7">begin</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::beg); }</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a7550b4dbfea20c02f4600821bf36dc0c"> 236</a></span>  <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a> <a class="code" href="classutl_1_1idx__dev.html#a7550b4dbfea20c02f4600821bf36dc0c">cbegin</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::beg); }</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#aae291a2bb6788f85aa543861ccdb51c5"> 239</a></span>  <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a> <a class="code" href="classutl_1_1idx__dev.html#aae291a2bb6788f85aa543861ccdb51c5">end</a> () noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a>(<span class="keyword">this</span>, iterator::eos); }</div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#ae1cf97364a8264b390b361fc6b54b389"> 240</a></span>  <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a> <a class="code" href="classutl_1_1idx__dev.html#ae1cf97364a8264b390b361fc6b54b389">end</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::eos); }</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev.html#a6ee37538b456c4b53b0bd4b3757b5edf"> 241</a></span>  <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a> <a class="code" href="classutl_1_1idx__dev.html#a6ee37538b456c4b53b0bd4b3757b5edf">cend</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::eos); }</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  };</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> data_t, <span class="keyword">typename</span> <span class="keywordtype">id</span>x_t, <span class="keywordtype">size_t</span> N></div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html"> 256</a></span>  <span class="keyword">class </span><a class="code" href="classutl_1_1idx__dev.html">idx_dev</a> <<a class="code" href="structutl_1_1virtual__tag.html">virtual_tag</a>, data_t, idx_t, N> {</div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a14c20218e1843e6dc981a23aeb2fccb8"> 257</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a> = <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev <virtual_tag, data_t, idx_t, N></a>; </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#aa26f4d0326232c436f3a312edf89b7e1"> 261</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#aa26f4d0326232c436f3a312edf89b7e1">data_type</a> = data_t;</div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a21fdf221d18bb3a118950d51af0b2df6"> 262</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a21fdf221d18bb3a118950d51af0b2df6">pointer_type</a>= data_t*;</div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a838a5bd9c2abb86ccde6249dc549e11b"> 263</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a838a5bd9c2abb86ccde6249dc549e11b">idx_type</a> = idx_t;</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#aa35bd23b888a66ebceffd7ea37f7a230"> 265</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">type</a> = <a class="code" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">idx_dev_t</a>; </div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keyword">virtual</span> <a class="code" href="classutl_1_1idx__dev.html#ac7fc9b499b2c4b73769b68d10181b08b">~idx_dev</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="classutl_1_1idx__dev.html#a90c6f576acb2a1ced3e973864d5d61b1">idx_dev</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="classutl_1_1idx__dev.html#a90c6f576acb2a1ced3e973864d5d61b1">idx_dev</a>(<span class="keyword">const</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>&) = <span class="keyword">delete</span>; </div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#ac817369b5efb068d648328320a9cf6a4">operator= </a>(<span class="keyword">const</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>&) = <span class="keyword">delete</span>; </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data_t&, idx_t) =0;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data_t*, <span class="keywordtype">size_t</span> n, idx_t) =0;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (<span class="keyword">const</span> data_t&, idx_t) =0;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (<span class="keyword">const</span> data_t*, <span class="keywordtype">size_t</span> n, idx_t) =0;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keyword">virtual</span> idx_t <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a> () <span class="keyword">const</span> =0;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a> (idx_t) =0;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a6d5acffcb7f0ae7d34b47021b55aff6c"> 303</a></span>  <span class="keywordtype">size_t</span> <span class="keyword">get</span> (data_t& data, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  }</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a58ce6002f3a5daabcc443aebee42e10b"> 315</a></span>  <span class="keywordtype">size_t</span> <span class="keyword">get</span> (data_t* data, <span class="keywordtype">size_t</span> n, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (data, n, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a183e46d89452a51a029387f621fb4e9f"> 328</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a183e46d89452a51a029387f621fb4e9f">put</a> (<span class="keyword">const</span> data_t& data, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (data, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  }</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> </div><div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a58ee979bbc14205548db85cbfbed7aba"> 340</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a58ee979bbc14205548db85cbfbed7aba">put</a> (<span class="keyword">const</span> data_t* data, <span class="keywordtype">size_t</span> n, idx_t <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>) {</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (data, n, <a class="code" href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">cursor</a>);</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div><div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a2524b96ad86605bdadf47f54265154a7"> 348</a></span>  idx_t <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a2524b96ad86605bdadf47f54265154a7">cursor</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>(); }</div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a4a0f9f2e977055dab73e2ecd0e49d97e"> 355</a></span>  idx_t <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a4a0f9f2e977055dab73e2ecd0e49d97e">cursor</a> (idx_t idx) { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>(idx); }</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Dst_t></div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a6e758bd01a5d893a8b13476ed55213cc"> 369</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">operator>> </a>(_Dst_t& dst) {</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  static_assert ((<span class="keyword">sizeof</span> (_Dst_t)%<span class="keyword">sizeof</span>(data_t) == 0),</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="stringliteral">"Target size must be an integer multiple of device's data size"</span>);</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (reinterpret_cast<data_t*>(&dst), <span class="keyword">sizeof</span>(_Dst_t)/<span class="keyword">sizeof</span>(data_t), <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  }</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Dst_t></div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <a class="code" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">operator>> </a>(_Dst_t* dst) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div><div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a379c115c72386cd4407443d9f3c6ac53"> 380</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">operator>> </a>(data_t& dst) {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <a class="code" href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">get_</a> (dst, <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  }</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> </div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Src_t></div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#accbb8a8c64fc4cac385081c9b6b7356b"> 397</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">operator<< </a>(_Src_t& src) {</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  static_assert ((<span class="keyword">sizeof</span> (_Src_t)%<span class="keyword">sizeof</span>(data_t) == 0),</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="stringliteral">"Source size must be an integer multiple of device's data size"</span>);</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (reinterpret_cast<data_t*>(&src), <span class="keyword">sizeof</span> (_Src_t)/<span class="keyword">sizeof</span>(data_t), <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  }</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Src_t></div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <a class="code" href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">operator<< </a>(_Src_t* src) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> </div><div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a52d8bf37aa7e4549db3ac11677cf9ec1"> 408</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">idx_dev_t</a>& <a class="code" href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">operator<< </a>(<span class="keyword">const</span> data_t& src) {</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">put_</a> (src, <a class="code" href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">cursor_</a>());</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  }</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> </div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  data_t& <a class="code" href="classutl_1_1idx__dev.html#a5e0d647ad1cc5533e4f70292d8793a9f">operator[] </a>(<span class="keyword">const</span> idx_t idx) {</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a> it(<span class="keyword">this</span>, idx);</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keywordflow">return</span> *it;</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  }</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> </div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a0965be515cca243b76f571aa425cfd96"> 429</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a0965be515cca243b76f571aa425cfd96">iterator</a> = idxdev_it <idx_dev_t, data_t*, N>; </div><div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92"> 430</a></span>  <span class="keyword">using</span> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92">const_iterator</a> = idxdev_it <idx_dev_t, const data_t*, N>; </div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> </div><div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a3923ae24a74fef19919f818636e063e4"> 433</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a0965be515cca243b76f571aa425cfd96">iterator</a> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a3923ae24a74fef19919f818636e063e4">begin</a> () noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a>(<span class="keyword">this</span>, iterator::beg); }</div><div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a07967f7a2c5d324361b7ffc829f31600"> 434</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92">const_iterator</a> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a07967f7a2c5d324361b7ffc829f31600">begin</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::beg); }</div><div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a99e214886247aaff0567799ba7b5c6a9"> 435</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92">const_iterator</a> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a99e214886247aaff0567799ba7b5c6a9">cbegin</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::beg); }</div><div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#ad9166f4899994039eb64b6f63bcee621"> 438</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a0965be515cca243b76f571aa425cfd96">iterator</a> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#ad9166f4899994039eb64b6f63bcee621">end</a> () noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">iterator</a>(<span class="keyword">this</span>, iterator::eos); }</div><div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a4da6ff073a9f8452ebbd5371e017e4b9"> 439</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92">const_iterator</a> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a4da6ff073a9f8452ebbd5371e017e4b9">end</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::eos); }</div><div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a413c6a4e5bc1c13ac0d78f5c3c228408"> 440</a></span>  <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92">const_iterator</a> <a class="code" href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a413c6a4e5bc1c13ac0d78f5c3c228408">cend</a> () const noexcept { <span class="keywordflow">return</span> <a class="code" href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">const_iterator</a>(<span class="keyword">this</span>, iterator::eos); }</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  };</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span> </div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span> <span class="preprocessor"> #if defined _utl_have_concepts</span></div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Tp></div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  concept <span class="keywordtype">bool</span> <a class="code" href="namespaceutl.html#a80a0424d220ac1f7be50086617a05dbd">Idx_dev</a> = requires (_Tp t, <span class="keyword">const</span> _Tp ct, <span class="keyword">typename</span> _Tp::data_type v) {</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="comment">// Object type</span></div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="comment">// requires std::is_default_constructible<_Tp>::value;</span></div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  requires !std::is_copy_constructible<_Tp>::value;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  requires !std::is_copy_assignable<_Tp>::value;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="comment">// Methods</span></div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  {t.get(v, 0)} -> <a class="code" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>;</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  {t.get(&v, 1, 0)} -> <a class="code" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>;</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  {t.put(v, 0)} -> <a class="code" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>;</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  {t.put(&v, 1, 0)} -> <a class="code" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>;</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="comment">// Operators</span></div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  t >> v;</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  t << v;</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  {t[<span class="keyword">typename</span> _Tp::idx_type{}]} -> <span class="keyword">typename</span> _Tp::data_type&;</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="comment">// Iterators</span></div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  requires idxdev_iterator_c<typename _Tp::iterator>;</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keyword">typename</span> _Tp::const_iterator; <span class="comment">//XXX: change to concept: is_idxdev_iterator<_Tp></span></div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="comment">//requires idxdev_iterator_c<typename _Tp::const_iterator>;</span></div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  { t.begin()} -> <span class="keyword">typename</span> _Tp::iterator;</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="comment">// {ct.begin()} -> typename _Tp::const_iterator;</span></div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="comment">// { t.cbegin()} -> typename _Tp::const_iterator;</span></div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  { t.end()} -> <span class="keyword">typename</span> _Tp::iterator;</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="comment">// {ct.end()} -> typename _Tp::const_iterator;</span></div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="comment">// { t.cend()} -> typename _Tp::const_iterator;</span></div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  };</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span> <span class="preprocessor"> #else</span></div><div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html"> 477</a></span>  <span class="keyword">namespace </span>idx_dev_details {</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keyword">using</span> std::declval;</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span> </div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="comment">// main api members</span></div><div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#ac3a877d2f57d7c50b77456e0571112f0"> 481</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#ac3a877d2f57d7c50b77456e0571112f0">try_get1_t</a> = decltype (declval<_Tp>().<span class="keyword">get</span> (declval<typename _Tp::data_type&>()));</div><div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#a4cf6896009d70acdccfb55ba333fe7ef"> 482</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#a4cf6896009d70acdccfb55ba333fe7ef">try_get2_t</a> = decltype (declval<_Tp>().<span class="keyword">get</span> (declval<typename _Tp::data_type*>(), declval<size_t>()));</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <span class="comment">// operators</span></div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="comment">//template <class _Tp> using try_extract_t= decltype (declval<_Tp>() >> declval<typename _Tp::data_type&>());</span></div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="comment">// iterator members</span></div><div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#a69a8af95a0fd62c3e022c34ddc3a956b"> 486</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#a69a8af95a0fd62c3e022c34ddc3a956b">try_begin_t</a> = decltype (declval<_Tp>().begin());</div><div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#afe8e2fc19d7b37a1b379a5f8302ef421"> 487</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#afe8e2fc19d7b37a1b379a5f8302ef421">tryc_begin_t</a> = decltype (declval<const _Tp>().begin());</div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#a655c6de0d6d8f4ac3778f2fff8e9c7de"> 488</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#a655c6de0d6d8f4ac3778f2fff8e9c7de">try_cbegin_t</a> = decltype (declval<const _Tp>().cbegin());</div><div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#ab85fa5de8595b6e56a6718ffb7d4edfe"> 489</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#ab85fa5de8595b6e56a6718ffb7d4edfe">try_end_t</a> = decltype (declval<_Tp>().begin());</div><div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#aad6edb02a37f897cf4157f6345909ef1"> 490</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#aad6edb02a37f897cf4157f6345909ef1">tryc_end_t</a> = decltype (declval<const _Tp>().begin());</div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="namespaceutl_1_1idx__dev__details.html#adb8cac5f5772e513749038257a1f92df"> 491</a></span>  <span class="keyword">template</span> <<span class="keyword">class</span> _Tp> <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1idx__dev__details.html#adb8cac5f5772e513749038257a1f92df">try_cend_t</a> = decltype (declval<const _Tp>().cend());</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Tp, <span class="keyword">typename</span> =<span class="keywordtype">void</span>></div><div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="structutl_1_1idx__dev__details_1_1is__idx__dev__.html"> 495</a></span>  <span class="keyword">struct </span><a class="code" href="structutl_1_1idx__dev__details_1_1is__idx__dev__.html">is_idx_dev_</a> : <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">false_</a> {};</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span> </div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Tp></div><div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="structutl_1_1idx__dev__details_1_1is__idx__dev___3_01___tp_00_01void__t_3_01typename_01___tp_1_1ae8b6b24c31c81bdd901da6e6387d84b.html"> 499</a></span>  <span class="keyword">struct </span><a class="code" href="structutl_1_1idx__dev__details_1_1is__idx__dev__.html">is_idx_dev_</a> <_Tp,</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t</a> <</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  typename _Tp::data_type,</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  typename _Tp::pointer_type,</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  typename _Tp::iterator,</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  typename _Tp::const_iterator,</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <try_get1_t <_Tp>, size_t>,</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <try_get2_t <_Tp>, size_t>,</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <span class="comment">//if_same_t <try_extract_t<_Tp>,typename _Tp&>,</span></div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <try_begin_t<_Tp>, typename _Tp::iterator>,</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <tryc_begin_t<_Tp>, typename _Tp::const_iterator>,</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <try_cbegin_t<_Tp>, typename _Tp::const_iterator>,</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <try_end_t<_Tp>, typename _Tp::iterator>,</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <tryc_end_t<_Tp>, typename _Tp::const_iterator>,</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <a class="code" href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">use_if_same_t</a> <try_cend_t<_Tp>, typename _Tp::const_iterator></div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  ></div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  > : <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">true_</a> {};</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  }</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> _Tp></div><div class="line"><a name="l00523"></a><span class="lineno"><a class="line" href="namespaceutl.html#a80a0424d220ac1f7be50086617a05dbd"> 523</a></span>  constexpr <span class="keywordtype">bool</span> <a class="code" href="namespaceutl.html#a80a0424d220ac1f7be50086617a05dbd">Idx_dev</a> = <a class="code" href="structutl_1_1idx__dev__details_1_1is__idx__dev__.html">idx_dev_details::is_idx_dev_ <_Tp>::value</a>;</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span> <span class="preprocessor"> #endif</span></div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span> </div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span> }</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span> <span class="preprocessor">#endif </span><span class="comment">/* #ifndef __utl_dev_idx_dev_h__ */</span><span class="preprocessor"></span></div><div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a838a5bd9c2abb86ccde6249dc549e11b"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a838a5bd9c2abb86ccde6249dc549e11b">utl::idx_dev< virtual_tag, data_t, idx_t, N >::idx_type</a></div><div class="ttdeci">idx_t idx_type</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00263">idx_dev.h:263</a></div></div>
- <div class="ttc" id="meta_8h_html"><div class="ttname"><a href="meta_8h.html">meta.h</a></div><div class="ttdoc">Include all meta library. </div></div>
- <div class="ttc" id="structutl_1_1idx__dev__details_1_1is__idx__dev___html"><div class="ttname"><a href="structutl_1_1idx__dev__details_1_1is__idx__dev__.html">utl::idx_dev_details::is_idx_dev_</a></div><div class="ttdoc">Primary template to catch any non input device types. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00495">idx_dev.h:495</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a4a0f9f2e977055dab73e2ecd0e49d97e"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a4a0f9f2e977055dab73e2ecd0e49d97e">utl::idx_dev< virtual_tag, data_t, idx_t, N >::cursor</a></div><div class="ttdeci">idx_t cursor(idx_t idx)</div><div class="ttdoc">Set the cursor position. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00355">idx_dev.h:355</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a183e46d89452a51a029387f621fb4e9f"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a183e46d89452a51a029387f621fb4e9f">utl::idx_dev< virtual_tag, data_t, idx_t, N >::put</a></div><div class="ttdeci">size_t put(const data_t &data, idx_t cursor)</div><div class="ttdoc">Put interface. This function should send a single data_t object to device. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00328">idx_dev.h:328</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a268d9f5940e7621affca5bffde8830b9"><div class="ttname"><a href="classutl_1_1idx__dev.html#a268d9f5940e7621affca5bffde8830b9">utl::idx_dev::get_</a></div><div class="ttdeci">size_t get_(data_t *data, size_t n, idx_t idx)</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00083">idx_dev.h:83</a></div></div>
- <div class="ttc" id="group__detection_html_gae7373c997420d16cf37e542eb3cfa3ad"><div class="ttname"><a href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">utl::meta::void_t</a></div><div class="ttdeci">void void_t</div><div class="ttdoc">void_t type alias </div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00055">detection.h:55</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a4d91ec798d3bf0da54467b4a394da839"><div class="ttname"><a href="classutl_1_1idx__dev.html#a4d91ec798d3bf0da54467b4a394da839">utl::idx_dev::put</a></div><div class="ttdeci">size_t put(const data_t *data, size_t n, idx_t cursor)</div><div class="ttdoc">Put interface. This function should send a stream of data_t objects to device. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00141">idx_dev.h:141</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html">utl::idx_dev< virtual_tag, data_t, idx_t, N ></a></div><div class="ttdoc">A virtual base class specialization. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00256">idx_dev.h:256</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a5ec37ed1b09a484563e4ad21107ac5a5"><div class="ttname"><a href="classutl_1_1idx__dev.html#a5ec37ed1b09a484563e4ad21107ac5a5">utl::idx_dev::cursor</a></div><div class="ttdeci">idx_t cursor() const</div><div class="ttdoc">Return the current cursor position. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00149">idx_dev.h:149</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a07967f7a2c5d324361b7ffc829f31600"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a07967f7a2c5d324361b7ffc829f31600">utl::idx_dev< virtual_tag, data_t, idx_t, N >::begin</a></div><div class="ttdeci">const_iterator begin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00434">idx_dev.h:434</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_a69a8af95a0fd62c3e022c34ddc3a956b"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#a69a8af95a0fd62c3e022c34ddc3a956b">utl::idx_dev_details::try_begin_t</a></div><div class="ttdeci">decltype(declval< _Tp >().begin()) try_begin_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00486">idx_dev.h:486</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a3923ae24a74fef19919f818636e063e4"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a3923ae24a74fef19919f818636e063e4">utl::idx_dev< virtual_tag, data_t, idx_t, N >::begin</a></div><div class="ttdeci">iterator begin() noexcept</div><div class="ttdoc">.begin implementation </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00433">idx_dev.h:433</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a90c6f576acb2a1ced3e973864d5d61b1"><div class="ttname"><a href="classutl_1_1idx__dev.html#a90c6f576acb2a1ced3e973864d5d61b1">utl::idx_dev::idx_dev</a></div><div class="ttdeci">idx_dev()=default</div><div class="ttdoc">A default constructor from derived only. </div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a7aa9e9ecfa5035dba4c2f9ef9ec60c2a"><div class="ttname"><a href="classutl_1_1idx__dev.html#a7aa9e9ecfa5035dba4c2f9ef9ec60c2a">utl::idx_dev::iterator</a></div><div class="ttdeci">idxdev_it< idx_dev_t, data_t *, N > iterator</div><div class="ttdoc">Iterator. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00230">idx_dev.h:230</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a5e0d647ad1cc5533e4f70292d8793a9f"><div class="ttname"><a href="classutl_1_1idx__dev.html#a5e0d647ad1cc5533e4f70292d8793a9f">utl::idx_dev::operator[]</a></div><div class="ttdeci">data_t & operator[](const idx_t idx)</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00219">idx_dev.h:219</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_ae9a5a8fbe8202785f059935af219fb97"><div class="ttname"><a href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">utl::meta::true_</a></div><div class="ttdeci">bool_< true > true_</div><div class="ttdoc">The type used as a compile-time boolean with true value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00068">integral.h:68</a></div></div>
- <div class="ttc" id="crtp_8h_html"><div class="ttname"><a href="crtp_8h.html">crtp.h</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_ac817369b5efb068d648328320a9cf6a4"><div class="ttname"><a href="classutl_1_1idx__dev.html#ac817369b5efb068d648328320a9cf6a4">utl::idx_dev::operator=</a></div><div class="ttdeci">idx_dev_t & operator=(const idx_dev_t &)=delete</div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a2524b96ad86605bdadf47f54265154a7"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a2524b96ad86605bdadf47f54265154a7">utl::idx_dev< virtual_tag, data_t, idx_t, N >::cursor</a></div><div class="ttdeci">idx_t cursor() const</div><div class="ttdoc">Return the current cursor position. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00348">idx_dev.h:348</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a7b986ccd5cc6a2ece87dacdb0b8f0a0d"><div class="ttname"><a href="classutl_1_1idx__dev.html#a7b986ccd5cc6a2ece87dacdb0b8f0a0d">utl::idx_dev::put_</a></div><div class="ttdeci">size_t put_(const data_t &data, idx_t idx)</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00084">idx_dev.h:84</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a99e214886247aaff0567799ba7b5c6a9"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a99e214886247aaff0567799ba7b5c6a9">utl::idx_dev< virtual_tag, data_t, idx_t, N >::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00435">idx_dev.h:435</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_af588d605d6968164cca3e348b5363613"><div class="ttname"><a href="classutl_1_1idx__dev.html#af588d605d6968164cca3e348b5363613">utl::idx_dev::put</a></div><div class="ttdeci">size_t put(const data_t &data, idx_t cursor)</div><div class="ttdoc">Put interface. This function should send a single data_t object to device. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00129">idx_dev.h:129</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_acc5ca7cdc56121ef7044ef89253b89b4"><div class="ttname"><a href="classutl_1_1idx__dev.html#acc5ca7cdc56121ef7044ef89253b89b4">utl::idx_dev::get_</a></div><div class="ttdeci">size_t get_(data_t &data, idx_t idx)</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00082">idx_dev.h:82</a></div></div>
- <div class="ttc" id="namespaceutl_html_ac5e425d39e8ee62e68664c6166d02d0c"><div class="ttname"><a href="namespaceutl.html#ac5e425d39e8ee62e68664c6166d02d0c">utl::use_if_same_t</a></div><div class="ttdeci">meta::eval< meta::enable_if< meta::same_< _T1, _T2 >::value, _Ret > > use_if_same_t</div><div class="ttdef"><b>Definition:</b> <a href="stl_8h_source.html#l00055">stl.h:55</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_afe8e2fc19d7b37a1b379a5f8302ef421"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#afe8e2fc19d7b37a1b379a5f8302ef421">utl::idx_dev_details::tryc_begin_t</a></div><div class="ttdeci">decltype(declval< const _Tp >().begin()) tryc_begin_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00487">idx_dev.h:487</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a814222014cab41a11fa8b2040e50310d"><div class="ttname"><a href="classutl_1_1idx__dev.html#a814222014cab41a11fa8b2040e50310d">utl::idx_dev::_CRTP_IMPL</a></div><div class="ttdeci">_CRTP_IMPL(impl_t)</div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a83b186ed15e9bbe1e5d53e3941d517a7"><div class="ttname"><a href="classutl_1_1idx__dev.html#a83b186ed15e9bbe1e5d53e3941d517a7">utl::idx_dev::begin</a></div><div class="ttdeci">iterator begin() noexcept</div><div class="ttdoc">.begin implementation </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00234">idx_dev.h:234</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a4da6ff073a9f8452ebbd5371e017e4b9"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a4da6ff073a9f8452ebbd5371e017e4b9">utl::idx_dev< virtual_tag, data_t, idx_t, N >::end</a></div><div class="ttdeci">const_iterator end() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00439">idx_dev.h:439</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a21fdf221d18bb3a118950d51af0b2df6"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a21fdf221d18bb3a118950d51af0b2df6">utl::idx_dev< virtual_tag, data_t, idx_t, N >::pointer_type</a></div><div class="ttdeci">data_t * pointer_type</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00262">idx_dev.h:262</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html"><div class="ttname"><a href="classutl_1_1idx__dev.html">utl::idx_dev</a></div><div class="ttdoc">Abstract base class for indexed devices. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00056">idx_dev.h:56</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_adb8cac5f5772e513749038257a1f92df"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#adb8cac5f5772e513749038257a1f92df">utl::idx_dev_details::try_cend_t</a></div><div class="ttdeci">decltype(declval< const _Tp >().cend()) try_cend_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00491">idx_dev.h:491</a></div></div>
- <div class="ttc" id="namespaceutl_1_1meta_html_a55511dbaa0adb605ce22dcec11f8d22d"><div class="ttname"><a href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">utl::meta::false_</a></div><div class="ttdeci">bool_< false > false_</div><div class="ttdoc">The type used as a compile-time boolean with false value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00069">integral.h:69</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_a4cf6896009d70acdccfb55ba333fe7ef"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#a4cf6896009d70acdccfb55ba333fe7ef">utl::idx_dev_details::try_get2_t</a></div><div class="ttdeci">decltype(declval< _Tp >().get(declval< typename _Tp::data_type * >(), declval< size_t >())) try_get2_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00482">idx_dev.h:482</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_ad9166f4899994039eb64b6f63bcee621"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#ad9166f4899994039eb64b6f63bcee621">utl::idx_dev< virtual_tag, data_t, idx_t, N >::end</a></div><div class="ttdeci">iterator end() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00438">idx_dev.h:438</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="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="classutl_1_1idx__dev_html_aae291a2bb6788f85aa543861ccdb51c5"><div class="ttname"><a href="classutl_1_1idx__dev.html#aae291a2bb6788f85aa543861ccdb51c5">utl::idx_dev::end</a></div><div class="ttdeci">iterator end() noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00239">idx_dev.h:239</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_aa8055ff3787876f243710ff194c7b8d0"><div class="ttname"><a href="classutl_1_1idx__dev.html#aa8055ff3787876f243710ff194c7b8d0">utl::idx_dev::idx_type</a></div><div class="ttdeci">idx_t idx_type</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00064">idx_dev.h:64</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_afe9d6e2398154ac585db7c5972a671e6"><div class="ttname"><a href="classutl_1_1idx__dev.html#afe9d6e2398154ac585db7c5972a671e6">utl::idx_dev::idx_dev_t</a></div><div class="ttdeci">idx_dev< impl_t, data_t, idx_t, N > idx_dev_t</div><div class="ttdoc">class type syntactic sugar </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00058">idx_dev.h:58</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_aad6edb02a37f897cf4157f6345909ef1"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#aad6edb02a37f897cf4157f6345909ef1">utl::idx_dev_details::tryc_end_t</a></div><div class="ttdeci">decltype(declval< const _Tp >().begin()) tryc_end_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00490">idx_dev.h:490</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_ab85fa5de8595b6e56a6718ffb7d4edfe"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#ab85fa5de8595b6e56a6718ffb7d4edfe">utl::idx_dev_details::try_end_t</a></div><div class="ttdeci">decltype(declval< _Tp >().begin()) try_end_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00489">idx_dev.h:489</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a6ee37538b456c4b53b0bd4b3757b5edf"><div class="ttname"><a href="classutl_1_1idx__dev.html#a6ee37538b456c4b53b0bd4b3757b5edf">utl::idx_dev::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00241">idx_dev.h:241</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_a655c6de0d6d8f4ac3778f2fff8e9c7de"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#a655c6de0d6d8f4ac3778f2fff8e9c7de">utl::idx_dev_details::try_cbegin_t</a></div><div class="ttdeci">decltype(declval< const _Tp >().cbegin()) try_cbegin_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00488">idx_dev.h:488</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a58ee979bbc14205548db85cbfbed7aba"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a58ee979bbc14205548db85cbfbed7aba">utl::idx_dev< virtual_tag, data_t, idx_t, N >::put</a></div><div class="ttdeci">size_t put(const data_t *data, size_t n, idx_t cursor)</div><div class="ttdoc">Put interface. This function should send a stream of data_t objects to device. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00340">idx_dev.h:340</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a296be5211871773b2b8aa5409772ce6a"><div class="ttname"><a href="classutl_1_1idx__dev.html#a296be5211871773b2b8aa5409772ce6a">utl::idx_dev::operator>></a></div><div class="ttdeci">idx_dev_t & operator>>(_Dst_t &dst)</div><div class="ttdoc">Template operator>> implementation for for all by value/ref parameters. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00170">idx_dev.h:170</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a413c6a4e5bc1c13ac0d78f5c3c228408"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a413c6a4e5bc1c13ac0d78f5c3c228408">utl::idx_dev< virtual_tag, data_t, idx_t, N >::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00440">idx_dev.h:440</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a0965be515cca243b76f571aa425cfd96"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a0965be515cca243b76f571aa425cfd96">utl::idx_dev< virtual_tag, data_t, idx_t, N >::iterator</a></div><div class="ttdeci">idxdev_it< idx_dev_t, data_t *, N > iterator</div><div class="ttdoc">Iterator. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00429">idx_dev.h:429</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_aa72ce1d299e2e994b811f127e7ce133f"><div class="ttname"><a href="classutl_1_1idx__dev.html#aa72ce1d299e2e994b811f127e7ce133f">utl::idx_dev::cursor_</a></div><div class="ttdeci">void cursor_(idx_t idx)</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00087">idx_dev.h:87</a></div></div>
- <div class="ttc" id="dev__iterators_8h_html"><div class="ttname"><a href="dev__iterators_8h.html">dev_iterators.h</a></div><div class="ttdoc">Iterator collection for devices. </div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_a66a2229a8f511c9eb147072211bbda92"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#a66a2229a8f511c9eb147072211bbda92">utl::idx_dev< virtual_tag, data_t, idx_t, N >::const_iterator</a></div><div class="ttdeci">idxdev_it< idx_dev_t, const data_t *, N > const_iterator</div><div class="ttdoc">Const iterator. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00430">idx_dev.h:430</a></div></div>
- <div class="ttc" id="namespaceutl_1_1idx__dev__details_html_ac3a877d2f57d7c50b77456e0571112f0"><div class="ttname"><a href="namespaceutl_1_1idx__dev__details.html#ac3a877d2f57d7c50b77456e0571112f0">utl::idx_dev_details::try_get1_t</a></div><div class="ttdeci">decltype(declval< _Tp >().get(declval< typename _Tp::data_type & >())) try_get1_t</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00481">idx_dev.h:481</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_aef5b7b2d58b2502ea7e60cfc9835e9b6"><div class="ttname"><a href="classutl_1_1idx__dev.html#aef5b7b2d58b2502ea7e60cfc9835e9b6">utl::idx_dev::put_</a></div><div class="ttdeci">size_t put_(const data_t *data, size_t n, idx_t idx)</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00085">idx_dev.h:85</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_ae1cf97364a8264b390b361fc6b54b389"><div class="ttname"><a href="classutl_1_1idx__dev.html#ae1cf97364a8264b390b361fc6b54b389">utl::idx_dev::end</a></div><div class="ttdeci">const_iterator end() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00240">idx_dev.h:240</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_ac7fc9b499b2c4b73769b68d10181b08b"><div class="ttname"><a href="classutl_1_1idx__dev.html#ac7fc9b499b2c4b73769b68d10181b08b">utl::idx_dev::~idx_dev</a></div><div class="ttdeci">~idx_dev()=default</div><div class="ttdoc">Allow destructor from derived only. </div></div>
- <div class="ttc" id="namespaceutl_html_a80a0424d220ac1f7be50086617a05dbd"><div class="ttname"><a href="namespaceutl.html#a80a0424d220ac1f7be50086617a05dbd">utl::Idx_dev</a></div><div class="ttdeci">constexpr bool Idx_dev</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00523">idx_dev.h:523</a></div></div>
- <div class="ttc" id="structutl_1_1virtual__tag_html"><div class="ttname"><a href="structutl_1_1virtual__tag.html">utl::virtual_tag</a></div><div class="ttdoc">virtual support tag type </div><div class="ttdef"><b>Definition:</b> <a href="crtp_8h_source.html#l00040">crtp.h:40</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a7550b4dbfea20c02f4600821bf36dc0c"><div class="ttname"><a href="classutl_1_1idx__dev.html#a7550b4dbfea20c02f4600821bf36dc0c">utl::idx_dev::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00236">idx_dev.h:236</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_ab49339f7ff0608ab460f0883224acb3c"><div class="ttname"><a href="classutl_1_1idx__dev.html#ab49339f7ff0608ab460f0883224acb3c">utl::idx_dev::cursor</a></div><div class="ttdeci">idx_t cursor(idx_t idx)</div><div class="ttdoc">Set the cursor position. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00156">idx_dev.h:156</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_aa184474f9ccb50bf7e2763a072fe64c5"><div class="ttname"><a href="classutl_1_1idx__dev.html#aa184474f9ccb50bf7e2763a072fe64c5">utl::idx_dev::cursor_</a></div><div class="ttdeci">idx_t cursor_() const</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00086">idx_dev.h:86</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4_html_aa26f4d0326232c436f3a312edf89b7e1"><div class="ttname"><a href="classutl_1_1idx__dev_3_01virtual__tag_00_01data__t_00_01idx__t_00_01_n_01_4.html#aa26f4d0326232c436f3a312edf89b7e1">utl::idx_dev< virtual_tag, data_t, idx_t, N >::data_type</a></div><div class="ttdeci">data_t data_type</div><div class="ttdoc">Export types as index device concept demands. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00261">idx_dev.h:261</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_a661ea93cc07a61ef208ab6f021f62907"><div class="ttname"><a href="classutl_1_1idx__dev.html#a661ea93cc07a61ef208ab6f021f62907">utl::idx_dev::operator<<</a></div><div class="ttdeci">idx_dev_t & operator<<(_Src_t &src)</div><div class="ttdoc">Template operator<< implementation for for all by value/ref parameters. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00198">idx_dev.h:198</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_afa0e264f696f45c5a1b663c7c868a510"><div class="ttname"><a href="classutl_1_1idx__dev.html#afa0e264f696f45c5a1b663c7c868a510">utl::idx_dev::const_iterator</a></div><div class="ttdeci">idxdev_it< idx_dev_t, const data_t *, N > const_iterator</div><div class="ttdoc">Const iterator. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00231">idx_dev.h:231</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_ace7a74e439972658d6006f83371ee0ca"><div class="ttname"><a href="classutl_1_1idx__dev.html#ace7a74e439972658d6006f83371ee0ca">utl::idx_dev::data_type</a></div><div class="ttdeci">data_t data_type</div><div class="ttdoc">Export types as index device concept demands. </div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00062">idx_dev.h:62</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="classutl_1_1idx__dev_html_acf054246b0c7c8be0a676fc1cf2b090c"><div class="ttname"><a href="classutl_1_1idx__dev.html#acf054246b0c7c8be0a676fc1cf2b090c">utl::idx_dev::pointer_type</a></div><div class="ttdeci">data_t * pointer_type</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00063">idx_dev.h:63</a></div></div>
- <div class="ttc" id="classutl_1_1idx__dev_html_ad456ced43be8ab4fb9a66840afa030f7"><div class="ttname"><a href="classutl_1_1idx__dev.html#ad456ced43be8ab4fb9a66840afa030f7">utl::idx_dev::begin</a></div><div class="ttdeci">const_iterator begin() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="idx__dev_8h_source.html#l00235">idx_dev.h:235</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_e9da18de27e34a68f4aee9f9a960d991.html">dev</a></li><li class="navelem"><a class="el" href="idx__dev_8h.html">idx_dev.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>
|