• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>Struct template proxy_arrow_result</title>
6<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="../../stl_interfaces/reference.html#header.boost.stl_interfaces.iterator_interface_hpp" title="Header &lt;boost/stl_interfaces/iterator_interface.hpp&gt;">
10<link rel="prev" href="access.html" title="Struct access">
11<link rel="next" href="../../BOOST_STL__1_3_39_11_2_3_2.html" title="Macro BOOST_STL_INTERFACES_STATIC_ASSERT_CONCEPT">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
16<td align="center"><a href="../../../../index.html">Home</a></td>
17<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="access.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../stl_interfaces/reference.html#header.boost.stl_interfaces.iterator_interface_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_STL__1_3_39_11_2_3_2.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="refentry">
27<a name="boost.stl_interfaces.proxy_arrow_result"></a><div class="titlepage"></div>
28<div class="refnamediv">
29<h2><span class="refentrytitle">Struct template proxy_arrow_result</span></h2>
30<p>boost::stl_interfaces::proxy_arrow_result</p>
31</div>
32<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
33<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../stl_interfaces/reference.html#header.boost.stl_interfaces.iterator_interface_hpp" title="Header &lt;boost/stl_interfaces/iterator_interface.hpp&gt;">boost/stl_interfaces/iterator_interface.hpp</a>&gt;
34
35</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span>
36<span class="keyword">struct</span> <a class="link" href="proxy_arrow_result.html" title="Struct template proxy_arrow_result">proxy_arrow_result</a> <span class="special">{</span>
37  <span class="comment">// <a class="link" href="proxy_arrow_result.html#boost.stl_interfaces.proxy_arrow_resultconstruct-copy-destruct">construct/copy/destruct</a></span>
38  <a class="link" href="proxy_arrow_result.html#id-1_3_39_11_2_3_1_1_2_4-bb"><span class="identifier">proxy_arrow_result</span></a><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="keyword">noexcept</span><span class="special">(</span><span class="identifier">T</span><span class="special">(</span><span class="identifier">value</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
39  <a class="link" href="proxy_arrow_result.html#id-1_3_39_11_2_3_1_1_2_5-bb"><span class="identifier">proxy_arrow_result</span></a><span class="special">(</span><span class="identifier">T</span> <span class="special">&amp;&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="keyword">noexcept</span><span class="special">(</span><span class="identifier">T</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">move</span><span class="special">(</span><span class="identifier">value</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
40
41  <span class="comment">// <a class="link" href="proxy_arrow_result.html#id-1_3_39_11_2_3_1_1_2_3-bb">public member functions</a></span>
42  <span class="keyword">constexpr</span> <span class="identifier">T</span> <span class="keyword">const</span>  <span class="special">*</span> <a class="link" href="proxy_arrow_result.html#id-1_3_39_11_2_3_1_1_2_3_1-bb"><span class="keyword">operator</span><span class="special">-&gt;</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
43  <span class="keyword">constexpr</span> <span class="identifier">T</span> <span class="special">*</span> <a class="link" href="proxy_arrow_result.html#id-1_3_39_11_2_3_1_1_2_3_2-bb"><span class="keyword">operator</span><span class="special">-&gt;</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
44<span class="special">}</span><span class="special">;</span></pre></div>
45<div class="refsect1">
46<a name="id-1.3.39.11.2.3.17.4"></a><h2>Description</h2>
47<p>The return type of <code class="computeroutput">operator-&gt;()</code> in a proxy iterator.</p>
48<p>This template is used as the default <code class="computeroutput">Pointer</code> template parameter in the <code class="computeroutput">proxy_iterator_interface</code> template alias. Note that the use of this template implies a copy or move of the underlying object of type <code class="computeroutput">T</code>. </p>
49<div class="refsect2">
50<a name="id-1.3.39.11.2.3.17.4.4"></a><h3>
51<a name="boost.stl_interfaces.proxy_arrow_resultconstruct-copy-destruct"></a><code class="computeroutput">proxy_arrow_result</code>
52        public
53       construct/copy/destruct</h3>
54<div class="orderedlist"><ol class="orderedlist" type="1">
55<li class="listitem"><pre class="literallayout"><a name="id-1_3_39_11_2_3_1_1_2_4-bb"></a><span class="identifier">proxy_arrow_result</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&amp;</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="keyword">noexcept</span><span class="special">(</span><span class="identifier">T</span><span class="special">(</span><span class="identifier">value</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></li>
56<li class="listitem"><pre class="literallayout"><a name="id-1_3_39_11_2_3_1_1_2_5-bb"></a><span class="identifier">proxy_arrow_result</span><span class="special">(</span><span class="identifier">T</span> <span class="special">&amp;&amp;</span> value<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">(</span><span class="keyword">noexcept</span><span class="special">(</span><span class="identifier">T</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">move</span><span class="special">(</span><span class="identifier">value</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></li>
57</ol></div>
58</div>
59<div class="refsect2">
60<a name="id-1.3.39.11.2.3.17.4.5"></a><h3>
61<a name="id-1_3_39_11_2_3_1_1_2_3-bb"></a><code class="computeroutput">proxy_arrow_result</code> public member functions</h3>
62<div class="orderedlist"><ol class="orderedlist" type="1">
63<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="identifier">T</span> <span class="keyword">const</span>  <span class="special">*</span> <a name="id-1_3_39_11_2_3_1_1_2_3_1-bb"></a><span class="keyword">operator</span><span class="special">-&gt;</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
64<li class="listitem"><pre class="literallayout"><span class="keyword">constexpr</span> <span class="identifier">T</span> <span class="special">*</span> <a name="id-1_3_39_11_2_3_1_1_2_3_2-bb"></a><span class="keyword">operator</span><span class="special">-&gt;</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
65</ol></div>
66</div>
67</div>
68</div>
69<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
70<td align="left"></td>
71<td align="right"><div class="copyright-footer">Copyright © 2019 T. Zachary Laine<p>
72        Distributed under the Boost Software License, Version 1.0. (See accompanying
73        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
74      </p>
75</div></td>
76</tr></table>
77<hr>
78<div class="spirit-nav">
79<a accesskey="p" href="access.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../stl_interfaces/reference.html#header.boost.stl_interfaces.iterator_interface_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_STL__1_3_39_11_2_3_2.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
80</div>
81</body>
82</html>
83