3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Struct template impl</title>
5 <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8 <link rel="up" href="../_data.html#id2901533" title="Description">
9 <link rel="prev" href="../_data.html" title="Struct _data">
10 <link rel="next" href="../_child_c.html" title="Struct template _child_c">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="../_data.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../_data.html#id2901533"><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="../_child_c.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
25 <div class="refentry">
26 <a name="boost.proto._data.impl"></a><div class="titlepage"></div>
27 <div class="refnamediv">
28 <h2><span class="refentrytitle">Struct template impl</span></h2>
29 <p>boost::proto::_data::impl</p>
31 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
32 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../proto/reference.html#header.boost.proto.transform.arg_hpp" title="Header <boost/proto/transform/arg.hpp>">boost/proto/transform/arg.hpp</a>>
35 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="link" href="../../../Expr.html" title="Concept Expr">Expr</a><span class="special">,</span> <span class="keyword">typename</span> State<span class="special">,</span> <span class="keyword">typename</span> Data<span class="special">></span>
36 <span class="keyword">struct</span> <a class="link" href="impl.html" title="Struct template impl">impl</a> <span class="special">:</span> <span class="keyword"></span> <a class="link" href="../transform_impl.html" title="Struct template transform_impl">proto::transform_impl</a><span class="special"><</span> <span class="identifier">Expr</span><span class="special">,</span> <span class="identifier">State</span><span class="special">,</span> <span class="identifier">Data</span> <span class="special">></span> <span class="special">{</span>
37 <span class="comment">// types</span>
38 <span class="keyword">typedef</span> <span class="identifier">Data</span> <a name="boost.proto._data.impl.result_type"></a><span class="identifier">result_type</span><span class="special">;</span>
40 <span class="comment">// <a class="link" href="impl.html#id1552271-bb">public member functions</a></span>
41 <span class="identifier">Data</span> <a class="link" href="impl.html#id1552276-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="keyword">typename</span> <span class="identifier">impl</span><span class="special">::</span><span class="identifier">expr_param</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">impl</span><span class="special">::</span><span class="identifier">state_param</span><span class="special">,</span>
42 <span class="keyword">typename</span> <span class="identifier">impl</span><span class="special">::</span><span class="identifier">data_param</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
43 <span class="special">}</span><span class="special">;</span></pre></div>
44 <div class="refsect1">
45 <a name="id2902089"></a><h2>Description</h2>
46 <div class="refsect2">
47 <a name="id2902092"></a><h3>
48 <a name="id1552271-bb"></a><code class="computeroutput">impl</code> public member functions</h3>
49 <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
50 <pre class="literallayout"><span class="identifier">Data</span> <a name="id1552276-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="keyword">typename</span> <span class="identifier">impl</span><span class="special">::</span><span class="identifier">expr_param</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">impl</span><span class="special">::</span><span class="identifier">state_param</span><span class="special">,</span>
51 <span class="keyword">typename</span> <span class="identifier">impl</span><span class="special">::</span><span class="identifier">data_param</span> data<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
53 Returns the current data.
55 <div class="variablelist"><table border="0">
56 <col align="left" valign="top">
59 <td><p><span class="term">Parameters:</span></p></td>
60 <td><div class="variablelist"><table border="0">
61 <col align="left" valign="top">
63 <td><p><span class="term"><code class="computeroutput">data</code></span></p></td>
64 <td><p>The current data. </p></td>
69 <td><p><span class="term">Returns:</span></p></td>
71 <code class="computeroutput">data</code>
75 <td><p><span class="term">Throws:</span></p></td>
76 <td>Will not throw.</td>
84 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
85 <td align="left"></td>
86 <td align="right"><div class="copyright-footer">Copyright © 2008 Eric Niebler<p>
87 Distributed under the Boost Software License, Version 1.0. (See accompanying
88 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>)
93 <div class="spirit-nav">
94 <a accesskey="p" href="../_data.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../_data.html#id2901533"><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="../_child_c.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>