PageRenderTime 117ms CodeModel.GetById 110ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/libs/phoenix/doc/html/phoenix/modules/function/adapting_functions/boost_phoenix_adapt_function.html

http://hadesmem.googlecode.com/
HTML | 77 lines | 77 code | 0 blank | 0 comment | 0 complexity | 2b690f5e95d9d8401ddb172007b935bd MD5 | raw file
 1<html>
 2<head>
 3<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 4<title>BOOST_PHOENIX_ADAPT_FUNCTION</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="Chapter&#160;1.&#160;Phoenix 3.0">
 8<link rel="up" href="../adapting_functions.html" title="Adapting Functions">
 9<link rel="prev" href="boost_phoenix_adapt_function_nullary.html" title="BOOST_PHOENIX_ADAPT_FUNCTION_NULLARY">
10<link rel="next" href="boost_phoenix_adapt_function_vararg.html" title="BOOST_PHOENIX_ADAPT_FUNCTION_VARARG">
11</head>
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>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="boost_phoenix_adapt_function_nullary.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapting_functions.html"><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_phoenix_adapt_function_vararg.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h5 class="title">
27<a name="phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function"></a><a class="link" href="boost_phoenix_adapt_function.html" title="BOOST_PHOENIX_ADAPT_FUNCTION">BOOST_PHOENIX_ADAPT_FUNCTION</a>
28</h5></div></div></div>
29<a name="phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.description"></a><h6>
30<a name="id814209"></a>
31            <a class="link" href="boost_phoenix_adapt_function.html#phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.description">Description</a>
32          </h6>
33<p>
34            <code class="computeroutput"><span class="identifier">BOOST_PHOENIX_ADAPT_FUNCTION</span></code>
35            is a macro that can be used to generate all the necessary boilerplate
36            to make an arbitrary function a lazy function.
37          </p>
38<a name="phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.synopsis"></a><h6>
39<a name="id814244"></a>
40            <a class="link" href="boost_phoenix_adapt_function.html#phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.synopsis">Synopsis</a>
41          </h6>
42<pre class="programlisting"><span class="identifier">BOOST_PHOENIX_ADAPT_FUNCTION</span><span class="special">(</span>
43    <span class="identifier">RETURN_TYPE</span>
44  <span class="special">,</span> <span class="identifier">LAZY_FUNCTION_NAME</span>
45  <span class="special">,</span> <span class="identifier">FUNCTION_NAME</span>
46  <span class="special">,</span> <span class="identifier">FUNCTION_ARITY</span>
47<span class="special">)</span>
48</pre>
49<a name="phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.semantics"></a><h6>
50<a name="id814325"></a>
51            <a class="link" href="boost_phoenix_adapt_function.html#phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.semantics">Semantics</a>
52          </h6>
53<a name="phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.header"></a><h6>
54<a name="id814346"></a>
55            <a class="link" href="boost_phoenix_adapt_function.html#phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.header">Header</a>
56          </h6>
57<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">phoenix</span><span class="special">/</span><span class="identifier">function</span><span class="special">/</span><span class="identifier">adapt_function</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
58</pre>
59<a name="phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.example"></a><h6>
60<a name="id814429"></a>
61            <a class="link" href="boost_phoenix_adapt_function.html#phoenix.modules.function.adapting_functions.boost_phoenix_adapt_function.example">Example</a>
62          </h6>
63</div>
64<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
65<td align="left"></td>
66<td align="right"><div class="copyright-footer">Copyright &#169; 2002-2005, 2010 Joel de Guzman, Dan Marsden, Thomas Heller<p>
67        Distributed under the Boost Software License, Version 1.0. (See accompanying
68        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>)
69      </p>
70</div></td>
71</tr></table>
72<hr>
73<div class="spirit-nav">
74<a accesskey="p" href="boost_phoenix_adapt_function_nullary.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapting_functions.html"><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_phoenix_adapt_function_vararg.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
75</div>
76</body>
77</html>