"Bo Peng" <[EMAIL PROTECTED]> writes:

| > | As I have said, I see no reason why
| > | not include pch.h.
| >
| > I do.
| >
| > by adding pch.h and removing the now duplicated headers you no longer
| > have control over the actually required headers for that particular
| > source file.
| 
| I still do not get it. pch.h has only headers that are needed for
| every source file in that directory.

So if you have ten .h files which of nine needs foo.h then foo.h
cannot be placed in pch.hpp?

| Additional headers should be
| added after #include pch.h for each particular source file. We do have
| full control over the required headers.

You have made pch.h and intimate part of the source: intrusive.
Currently we have no such thing. You don't even have to know about the
pch.h file when coding... (and IMO you should not have to)

| Unless you want more than commonly used headers in pch.h.

I want commonly used headers but not just the intersection.

-- 
        Lgb

Reply via email to