Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-07-22 04:24:50


Beman Dawes wrote:
> As has been discussed many times in the past, the C++ standard provides
> #include <...> for "headers" (which are only well-defined in the standard
> for the standard library), and #include "..." for "source files" (which
> includes the Boost header files). See section 16.2.
>
> For historical reasons relating to problem compilers, Boost code has always
> used <boost/...> instead of "boost/...", and thus relies on
> implementation-defined behavior (16.2/2).
>
> The historical reasons no longer apply. Should we being to transition
> Boost code to the more correct #include "boost/..." form?

I think no. While I tend to look in the standard in unclear situations, this
time I think the standard is not very important. Using <> for external
libraries is rather universal practice -- I actually never seen other usage.
Further, I think that "" is only used to include headers from the same
directory. So, why change includes style while it works now, and is the same
as everywhere else?

Personally, I would not like to see something like:

#include <qapplication.h>
#include <pthread.h>
#include "boost/shared_ptr.hpp"

- Volodya


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