Boost logo

Boost Users :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-10-20 14:28:46

On Monday 20 October 2003 09:11 am, Marton Fabo wrote:
> But after having added some boost headers
> (mainly function and bind) to where it's appropriate, the amount of
> compiled lines on a full rebuild jumped to the ten million (!) range.

This can be a real pain. One way to shrink Boost.Function down a bit (though
probably not enough) is to use the argument-number---specific headers, e.g.,

        #include <boost/function/function1.hpp>
        #include <boost/function/function2.hpp>

instead of

        #include <boost/function.hpp>

if you only need Boost.Function objects of arity 1 and 2.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at