Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2006-05-11 20:16:10


Felipe Magno de Almeida wrote:
> On 5/11/06, Hartmut Kaiser <hartmut.kaiser_at_[hidden]> wrote:
>> Felipe Magno de Almeida wrote:

>>> And to fork the preprocessing to when the condition is met
>>> and when not.
>> Could you please elaborate on this? I'm not sure what you've meant here.
>
> I would like to continue preprocessing the file but with two different
> contexts, one with the evaluation being false and another being true.

I guess that would imply to modify the preprocessor's internal state,
i.e. causing it to look as if the condition that was actually false had
been true. Everything else would potentially lead to inconsistent or
undefined behavior.

Regards,
                Stefan


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