Topic: #include (Was: Why are c++ compilers soooo slow ????)


Author: Valentin Bonnard <bonnardv@pratique.fr>
Date: 1998/11/30
Raw View
Siemel Naran wrote:

> Why not make a one .pcf file for each header instead of one .pcf
> file for all the headers?
>
> Stroustrup says that an implementation may store standard header
> files in the compiler.  Then #include <header> just unlocks the
> standard header rather than include and parse the header.  I don't
> think any do this.

But it only works for standard, system, or other <> headers (and
except assert.h); normal "" headers might depend on previously
defined macros...   :-(

--

Valentin Bonnard                mailto:bonnardv@pratique.fr
info about C++/a propos du C++: http://pages.pratique.fr/~bonnardv/


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]