Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-24 18:34:14

So, I was sitting in a car repair shop with only a laptop and a Boost
checkout, and...

User-visible changes:
 - All of the functionality deprecated in 1.29.0 (and in CVS for quite a long
time) has been removed.

 - The headers <boost/function1.hpp>, <boost/function2.hpp>, etc. now include
the appropriate partial specialization of class template 'function', so that
one need only include <boost/functionN.hpp> to use boost::function<R (T1, T2,
..., TN)>.

  - Can limit the maximum number of arguments supported when including
<boost/function.hpp> by setting BOOST_FUNCTION_MAX_ARGS. There are no issues
with link compatibility when different projects use different settings of
BOOST_FUNCTION_MAX_ARGS, or when function.hpp is included multiple times with
different numbers for BOOST_FUNCTION_MAX_ARGS.

Implementation details:

Function now uses the Preprocessor library for its internal lists, so that it
is possible to create Boost.Function function objects for any number of
arguments (up to 255, that is). The Preprocessor library's file iteration
(great work, Paul!) is used to generate the function0-functionN classes.


Boost list run by bdawes at, gregod at, cpdaniel at, john at