Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2004-01-05 13:58:12


 
Pavel Vozenilek wrote:

> > There is a new version of the Wave C++ preprocessor library
> available
> >
> > Now, as the Wave library has reached its first stable
> release, I would ask
> > you whether there is enough interest, so that it would make
> sense for me
> to
> > submit this library to Boost.
> >
> Yes, IMO.

Vote noted :-)

> > - Added support for #pragma once
> > - Added a generic interface, which allows to add custom
> #pragma directives
> > easily
> >
> So any chance to recognize sequences as:
>
> #if (defined _MSC_VER) && (_MSC_VER >= ...)
> # pragma once
> #endif
>
> as a very special but quite common "directive" and act accordingly?
> That would help to keep the problem discussed recently manageable ;-)

That would be a terrible hack! The only thing I eventually may implement is
to interpret #pragma once directives, regardless if they inside a disabled
conditional block or not. But this may have other implications...

So I would say, no - this is no option.

Regards Hartmut


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