diff options
Diffstat (limited to 'doc/html/BOOST_PROTO_AUTO.html')
-rw-r--r-- | doc/html/BOOST_PROTO_AUTO.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/BOOST_PROTO_AUTO.html b/doc/html/BOOST_PROTO_AUTO.html index 96544758ad..bf9c1546f2 100644 --- a/doc/html/BOOST_PROTO_AUTO.html +++ b/doc/html/BOOST_PROTO_AUTO.html @@ -4,7 +4,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Macro BOOST_PROTO_AUTO</title> <link rel="stylesheet" href="../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="proto/reference.html#header.boost.proto.proto_typeof_hpp" title="Header <boost/proto/proto_typeof.hpp>"> <link rel="prev" href="BOOST_PROTO_MAX_FUNCTION_CALL_ARITY.html" title="Macro BOOST_PROTO_MAX_FUNCTION_CALL_ARITY"> @@ -35,16 +35,16 @@ </span>BOOST_PROTO_AUTO(Var, Expr)</pre></div> <div class="refsect1"> -<a name="idm45555182400016"></a><h2>Description</h2> +<a name="idp344824768"></a><h2>Description</h2> <p> To define a local variable <code class="computeroutput">ex</code> that stores the expression - <code class="computeroutput"><a class="link" href="boost/proto/lit.html" title="Function lit">proto::lit</a>(1) + 2</code>, + <code class="computeroutput"><a class="link" href="boost/proto/lit_idp305959552.html" title="Function lit">proto::lit</a>(1) + 2</code>, do the following:</p> -<pre class="programlisting"><span class="identifier">BOOST_PROTO_AUTO</span><span class="special">(</span> <span class="identifier">ex</span><span class="special">,</span> <a class="link" href="boost/proto/lit.html" title="Function lit">proto::lit</a><span class="special">(</span><span class="number">1</span><span class="special">)</span> <span class="special">+</span> <span class="number">2</span> <span class="special">)</span><span class="special">;</span></pre> +<pre class="programlisting"><span class="identifier">BOOST_PROTO_AUTO</span><span class="special">(</span> <span class="identifier">ex</span><span class="special">,</span> <a class="link" href="boost/proto/lit_idp305959552.html" title="Function lit">proto::lit</a><span class="special">(</span><span class="number">1</span><span class="special">)</span> <span class="special">+</span> <span class="number">2</span> <span class="special">)</span><span class="special">;</span></pre> <p>. The above is equivalent to the following: </p> -<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span> <span class="identifier">ex</span><span class="special">,</span> <a class="link" href="boost/proto/deep_cop_idm45506996666736.html" title="Function template deep_copy">proto::deep_copy</a><span class="special">(</span> <a class="link" href="boost/proto/lit.html" title="Function lit">proto::lit</a><span class="special">(</span><span class="number">1</span><span class="special">)</span> <span class="special">+</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)</span><span class="special">;</span></pre> +<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span> <span class="identifier">ex</span><span class="special">,</span> <a class="link" href="boost/proto/deep_copy_idp304746000.html" title="Function template deep_copy">proto::deep_copy</a><span class="special">(</span> <a class="link" href="boost/proto/lit_idp305959552.html" title="Function lit">proto::lit</a><span class="special">(</span><span class="number">1</span><span class="special">)</span> <span class="special">+</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)</span><span class="special">;</span></pre> <p> </p> </div> |