Boost logo

Boost :

From: George A. Heintzelman (georgeh_at_[hidden])
Date: 2001-07-05 14:51:56

From: Peter Dimon <pdimov_at_[hidden]>
> From: "Beman Dawes" <bdawes_at_[hidden]>
> > Anyhow, we should probably globally change to #include "..."
> >
> > That is the correct form for all non-standard library includes, and Boost
> > should be using it.
> Using the <...> form has some benefits:

> * You know which header is being included, since the current directory is
> not searched (I know that this is implementation-specific, but it's often
> true.)

I'm not sure which way this ought to go, but I wanted to point one a
benefit that arises from Peter's point here. Using <...> makes it much
easier to override/test a fix to a single header, where it might be
included by other headers, without having to worry about keeping
complete repositories up-to-date, etc. At my workplace we have a system
in place which takes advantage of this to significantly reduce compile
times and copies of object files hanging around. It works best when (as
in our code :( ) there are lots of inter-module dependencies. Granted
that boost is pretty good in that regard, but lots of user code isn't.

George Heintzelman

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