|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-02-19 12:01:26
"Hartmut Kaiser" <hartmut.kaiser_at_[hidden]> writes:
>
> John Maddock wrote:
>
>> > a) Wave can be used to get all the names of the included files
>> > directly.
>>
>> Good, but what would be needed is a sort of tri-state for
>> each define:
>> defined/not defined/maybe defined.
>
> This one is easy. Just run the tool twice, once with the macro defined and
> once without.
No, the combinatorics make that intractable. And you want to re-use
common state (when two different settings of a macro leave you with
most of the same preprocessor state).
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net