Boost logo

Boost :

From: Jonathan de Halleux (dehalleux_at_[hidden])
Date: 2003-10-17 09:14:01


[snipped]
>Boost.Build can output the dependency graph already. You should parse that
>graph, but it's somewhat simpler than parsing C++.

Cool, do you have a link to some examples ?

> > - since making forward declaration enables to break some edges, could
> > this algorithm be used to find which dependency could be replaced by a
> > forward declaration ?
>
>How? You can use forward declaration only if header in question does not
>declare instances of the class, but only pointers, or, say, vectors. To
>find if this is the case, you'd need real C++ parser.

In fact... these were just some free thoughts. :)

-----------------------------------------------------------------------------------
Jonathan de Halleux, Research Assistant
Center for Systems Engineering and Applied Mechanics (CESAME)
Universite catholique de Louvain
Batiment Euler , Av. Georges Lemaitre, 4 Tel : +32-10-47 2595
B-1348 Louvain-la-Neuve Belgium
E-mail : dehalleux_at_[hidden]
-----------------------------------------------------------------------------------


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