3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Getting Started
</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=
"../index.html" title=
"Chapter 1. Boost.Functional/OverloadedFunction 1.0.0">
10 <link rel=
"next" href=
"tutorial.html" title=
"Tutorial">
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=
"../index.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=
"tutorial.html"><img src=
"../../../../../../doc/src/images/next.png" alt=
"Next"></a>
25 <div class=
"section boost_functional_overloadedfunction_getting_started">
26 <div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both">
27 <a name=
"boost_functional_overloadedfunction.getting_started"></a><a class=
"link" href=
"getting_started.html" title=
"Getting Started">Getting
29 </h2></div></div></div>
31 <dt><span class=
"section"><a href=
"getting_started.html#boost_functional_overloadedfunction.getting_started.compilers_and_platforms">Compilers
32 and Platforms
</a></span></dt>
33 <dt><span class=
"section"><a href=
"getting_started.html#boost_functional_overloadedfunction.getting_started.installation">Installation
</a></span></dt>
36 This section explains how to setup a system to use this library.
38 <div class=
"section boost_functional_overloadedfunction_getting_started_compilers_and_platforms">
39 <div class=
"titlepage"><div><div><h3 class=
"title">
40 <a name=
"boost_functional_overloadedfunction.getting_started.compilers_and_platforms"></a><a class=
"link" href=
"getting_started.html#boost_functional_overloadedfunction.getting_started.compilers_and_platforms" title=
"Compilers and Platforms">Compilers
42 </h3></div></div></div>
44 The authors originally developed and tested this library on:
46 <div class=
"orderedlist"><ol class=
"orderedlist" type=
"1">
48 GNU Compiler Collection (GCC) C++
4.5.3 (with and without C++
11 features
49 enabled
<code class=
"computeroutput"><span class=
"special">-
</span><span class=
"identifier">std
</span><span class=
"special">=
</span><span class=
"identifier">c
</span><span class=
"special">++
</span><span class=
"number">0</span><span class=
"identifier">x
</span></code>)
53 Miscrosoft Visual C++ (MSVC)
8.0 on Windows
7.
57 See the library
<a href=
"http://www.boost.org/development/tests/release/developer/functional-overloaded_function.html" target=
"_top">regressions
58 test results
</a> for detailed information on supported compilers and
59 platforms. Check the library regression test
<a href=
"../../../test/Jamfile.v2" target=
"_top"><code class=
"literal">Jamfile.v2
</code></a>
60 for any special configuration that might be required for a specific compiler.
63 <div class=
"section boost_functional_overloadedfunction_getting_started_installation">
64 <div class=
"titlepage"><div><div><h3 class=
"title">
65 <a name=
"boost_functional_overloadedfunction.getting_started.installation"></a><a class=
"link" href=
"getting_started.html#boost_functional_overloadedfunction.getting_started.installation" title=
"Installation">Installation
</a>
66 </h3></div></div></div>
68 This library is composed of header files only. Therefore there is no pre-compiled
69 object file which needs to be installed. Programmers can simply instruct
70 the compiler where to find the library header files (
<code class=
"computeroutput"><span class=
"special">-
</span><span class=
"identifier">I
</span></code> option on GCC,
<code class=
"computeroutput"><span class=
"special">/
</span><span class=
"identifier">I
</span></code> option on MSVC, etc) and compile code
74 The maximum number of functions to overload is given by the
<code class=
"computeroutput"><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></code>
75 configuration macro. The maximum number of function parameters for each of
76 the specified function type is given by the
<code class=
"computeroutput"><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></code>
77 configuration macro. All configuration macros have appropriate default values
78 when they are left undefined.
82 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
83 <td align=
"left"></td>
84 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2011,
2012 Lorenzo Caminiti
<p>
85 Distributed under the Boost Software License, Version
1.0 (see accompanying
86 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>)
91 <div class=
"spirit-nav">
92 <a accesskey=
"p" href=
"../index.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=
"tutorial.html"><img src=
"../../../../../../doc/src/images/next.png" alt=
"Next"></a>