Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-06-20 06:51:50


John Maddock wrote:

> > Here is the (main) code, which uses Wave to output the file
> names of
> > all successfully opened include files (this needs some filtering to
> > avoid double output of the same file):
>
> Interesting, the thing is I need the code to find all
> possible dependencies, so that if we have:
>
> #if SOME_MACRO
> #include <boost/a.hpp>
> #else
> #include <boost/b.hpp>
> #endif
>
> then it should find *both* headers.
>
> Which I don't think a preprocessor will do?

Good point!

> In any case I'm already using regex for other purposes, and
> boost::function seems to be the only problematic case so far...

Anyway, nice to have bcp!
Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk