3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Reference
</title>
5 <link rel=
"stylesheet" href=
"../../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.78.1">
7 <link rel=
"home" href=
"index.html" title=
"Chapter 1. Boost.LocalFunction 1.0.0">
8 <link rel=
"up" href=
"index.html" title=
"Chapter 1. Boost.LocalFunction 1.0.0">
9 <link rel=
"prev" href=
"boost_localfunction/implementation.html" title=
"Annex: Implementation">
10 <link rel=
"next" href=
"BOOST_LOCAL_FUNCTION.html" title=
"Macro BOOST_LOCAL_FUNCTION">
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=
"boost_localfunction/implementation.html"><img src=
"../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"index.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_LOCAL_FUNCTION.html"><img src=
"../../../../doc/src/images/next.png" alt=
"Next"></a>
26 <div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both">
27 <a name=
"reference"></a>Reference
</h2></div></div></div>
28 <div class=
"toc"><dl class=
"toc">
29 <dt><span class=
"section"><a href=
"reference.html#header.boost.local_function_hpp">Header
<boost/local_function.hpp
></a></span></dt>
30 <dt><span class=
"section"><a href=
"reference.html#header.boost.local_function.config_hpp">Header
<boost/local_function/config.hpp
></a></span></dt>
33 <div class=
"titlepage"><div><div><h3 class=
"title">
34 <a name=
"header.boost.local_function_hpp"></a>Header
<<a href=
"../../../../boost/local_function.hpp" target=
"_top">boost/local_function.hpp
</a>></h3></div></div></div>
35 <p>Local functions allow to program functions locally, within other functions, and directly within the scope where they are needed.
</p>
36 <pre class=
"synopsis">
38 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION.html" title=
"Macro BOOST_LOCAL_FUNCTION">BOOST_LOCAL_FUNCTION
</a>(declarations)
39 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_TPL.html" title=
"Macro BOOST_LOCAL_FUNCTION_TPL">BOOST_LOCAL_FUNCTION_TPL
</a>(declarations)
40 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_ID.html" title=
"Macro BOOST_LOCAL_FUNCTION_ID">BOOST_LOCAL_FUNCTION_ID
</a>(id, declarations)
41 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_ID_TPL.html" title=
"Macro BOOST_LOCAL_FUNCTION_ID_TPL">BOOST_LOCAL_FUNCTION_ID_TPL
</a>(id, declarations)
42 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_NAME.html" title=
"Macro BOOST_LOCAL_FUNCTION_NAME">BOOST_LOCAL_FUNCTION_NAME
</a>(qualified_name)
43 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_NAME_TPL.html" title=
"Macro BOOST_LOCAL_FUNCTION_NAME_TPL">BOOST_LOCAL_FUNCTION_NAME_TPL
</a>(name)
44 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_TYPEOF.html" title=
"Macro BOOST_LOCAL_FUNCTION_TYPEOF">BOOST_LOCAL_FUNCTION_TYPEOF
</a>(bound_variable_name)
</pre>
47 <div class=
"titlepage"><div><div><h3 class=
"title">
48 <a name=
"header.boost.local_function.config_hpp"></a>Header
<<a href=
"../../../../boost/local_function/config.hpp" target=
"_top">boost/local_function/config.hpp
</a>></h3></div></div></div>
49 <p>Configuration macros allow to change the behaviour of this library at compile-time.
</p>
50 <pre class=
"synopsis">
52 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_CONFIG_ARITY_MAX.html" title=
"Macro BOOST_LOCAL_FUNCTION_CONFIG_ARITY_MAX">BOOST_LOCAL_FUNCTION_CONFIG_ARITY_MAX
</a>
53 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_CONFIG_BIND_MAX.html" title=
"Macro BOOST_LOCAL_FUNCTION_CONFIG_BIND_MAX">BOOST_LOCAL_FUNCTION_CONFIG_BIND_MAX
</a>
54 <a class=
"link" href=
"BOOST_LOCAL_FUNCTION_CONFIG_LOCALS_AS_TPARAMS.html" title=
"Macro BOOST_LOCAL_FUNCTION_CONFIG_LOCALS_AS_TPARAMS">BOOST_LOCAL_FUNCTION_CONFIG_LOCALS_AS_TPARAMS
</a></pre>
57 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
58 <td align=
"left"></td>
59 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2009-
2012 Lorenzo
61 Distributed under the Boost Software License, Version
1.0 (see accompanying
62 file LICENSE_1_0.txt or a copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt" target=
"_top">http://www.boost.org/LICENSE_1_0.txt
</a>)
67 <div class=
"spirit-nav">
68 <a accesskey=
"p" href=
"boost_localfunction/implementation.html"><img src=
"../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"index.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_LOCAL_FUNCTION.html"><img src=
"../../../../doc/src/images/next.png" alt=
"Next"></a>