Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2006-05-15 15:53:42

Felipe Magno de Almeida wrote:

> > Felipe Magno de Almeida wrote:
> >
> > > I want to be able to preprocess a file without *needing*
> the system
> > > headers. Although, using them is a lot safer.
> >
> > That's the point: To get predictable / correct results you
> can't skip
> > processing included files. Anything else is heuristic.
> You can if you know what it do. For instance, I dont need to
> include a STL header to be able to preprocess a source file.
> Most headers are safe to not include. Also, I should be able
> to cache the modified state from a header and do not need to
> re-preprocess it again for another file.

Wave is quite intelligent wrt skipping include files wherever possible. It
supports the #pragma once directive and uses a heuristic to recognize
standard header guarding schemes to avoid duplicate inclusion of a file. So
there is no need for you worry about that.

Regards Hartmut

Boost list run by bdawes at, gregod at, cpdaniel at, john at