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.76.1">
7 <link rel=
"home" href=
"index.html" title=
"Chapter 1. Boost.Functional/OverloadedFunction 1.0.0">
8 <link rel=
"up" href=
"index.html" title=
"Chapter 1. Boost.Functional/OverloadedFunction 1.0.0">
9 <link rel=
"prev" href=
"boost_functional_overloadedfunction/tutorial.html" title=
"Tutorial">
10 <link rel=
"next" href=
"boost/overloaded_function.html" title=
"Class template overloaded_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_functional_overloadedfunction/tutorial.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/overloaded_function.html"><img src=
"../../../../../doc/src/images/next.png" alt=
"Next"></a>
25 <div class=
"section reference">
26 <div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both">
27 <a name=
"reference"></a>Reference
</h2></div></div></div>
29 <dt><span class=
"section"><a href=
"reference.html#header.boost.functional.overloaded_function_hpp">Header
<boost/functional/overloaded_function.hpp
></a></span></dt>
30 <dt><span class=
"section"><a href=
"reference.html#header.boost.functional.overloaded_function.config_hpp">Header
<boost/functional/overloaded_function/config.hpp
></a></span></dt>
32 <div class=
"section header_boost_functional_overloaded_function_hpp">
33 <div class=
"titlepage"><div><div><h3 class=
"title">
34 <a name=
"header.boost.functional.overloaded_function_hpp"></a>Header
<<a href=
"../../../../../boost/functional/overloaded_function.hpp" target=
"_top">boost/functional/overloaded_function.hpp
</a>></h3></div></div></div>
35 <p>Overload distinct function pointers, function references, and monomorphic function objects into a single function object.
</p>
36 <pre class=
"synopsis"><span class=
"keyword">namespace
</span> <span class=
"identifier">boost
</span> <span class=
"special">{
</span>
37 <span class=
"keyword">template
</span><span class=
"special"><</span><span class=
"keyword">typename
</span> F1
<span class=
"special">,
</span> <span class=
"keyword">typename
</span> F2
<span class=
"special">,
</span> <span class=
"special">...
</span> <span class=
"special">></span> <span class=
"keyword">class
</span> <a class=
"link" href=
"boost/overloaded_function.html" title=
"Class template overloaded_function">overloaded_function
</a><span class=
"special">;
</span>
38 <span class=
"keyword">template
</span><span class=
"special"><</span><span class=
"keyword">typename
</span> F1
<span class=
"special">,
</span> <span class=
"keyword">typename
</span> F2
<span class=
"special">,
</span> <span class=
"special">...
</span> <span class=
"special">></span>
39 <a class=
"link" href=
"boost/overloaded_function.html" title=
"Class template overloaded_function">overloaded_function
</a><span class=
"special"><</span> <span class=
"identifier">__function_type__
</span><span class=
"special"><</span> <span class=
"identifier">F1
</span> <span class=
"special">></span><span class=
"special">,
</span> <span class=
"identifier">__function_type__
</span><span class=
"special"><</span> <span class=
"identifier">F2
</span> <span class=
"special">></span><span class=
"special">,
</span><span class=
"special">...
</span><span class=
"special">></span>
40 <a class=
"link" href=
"boost/make_overloaded_function.html" title=
"Function template make_overloaded_function"><span class=
"identifier">make_overloaded_function
</span></a><span class=
"special">(
</span><span class=
"identifier">F1
</span><span class=
"special">,
</span> <span class=
"identifier">F2
</span><span class=
"special">,
</span> <span class=
"special">...
</span><span class=
"special">)
</span><span class=
"special">;
</span>
41 <span class=
"special">}
</span></pre>
43 <div class=
"section header_boost_functional_overloaded_function_config_hpp">
44 <div class=
"titlepage"><div><div><h3 class=
"title">
45 <a name=
"header.boost.functional.overloaded_function.config_hpp"></a>Header
<<a href=
"../../../../../boost/functional/overloaded_function/config.hpp" target=
"_top">boost/functional/overloaded_function/config.hpp
</a>></h3></div></div></div>
46 <p>Change the compile-time configuration of this library.
</p>
47 <pre class=
"synopsis">
49 <a class=
"link" href=
"BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_ARITY_MAX.html" title=
"Macro BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_ARITY_MAX">BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_ARITY_MAX
</a>
50 <a class=
"link" href=
"BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX.html" title=
"Macro BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX">BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX
</a></pre>
53 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
54 <td align=
"left"></td>
55 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2011,
2012 Lorenzo Caminiti
<p>
56 Distributed under the Boost Software License, Version
1.0 (see accompanying
57 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>)
62 <div class=
"spirit-nav">
63 <a accesskey=
"p" href=
"boost_functional_overloadedfunction/tutorial.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/overloaded_function.html"><img src=
"../../../../../doc/src/images/next.png" alt=
"Next"></a>