Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-07 14:11:23


From: "Beman Dawes" <bdawes_at_[hidden]>
> Read the standard carefully, particularly 16.2. 16.2 paragraph 2
specifies
> <...> for "headers", while paragraph 3 specifies "..." for "source files".
>
> In the standard (although not in everyday programmer terminology) the term
> "header" means headers from the standard library. It does not mean user
> "source files". Thus it is technically undefined behavior to use <...> to
> include a user source file.

I've always used "x.hpp" to mean "x.hpp in the same directory as the current
.cpp file" and <x.hpp> as "x.hpp in /usr/include."

Unfortunately I have to admit that 16.2 tells a different story.


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