Boost logo

Boost :

From: Jerome Lecomte (jlecomte_at_[hidden])
Date: 2001-06-14 13:01:17


Lakos book discusses it in "Large Scale C++ System Design" as a major
design rule (chapter 3, MDR 3, p.110 according to
http://www.cs.ucf.edu/~eke/cLang/guide/Lakos/major.html)

JL

--- In boost_at_y..., Beman Dawes <bdawes_at_a...> wrote:
> >In my own programs, as a matter of style I include the
corresponding
> >header first, before any standard headers. This helps make sure
you don't
>
> >forget to include it, and also provides a rudimentary "does this
header
> >include enough things to stand alone" check. I'd like to suggest
it was a
>
> >standard practice for Boost as well.
>
> Interesting. I don't remember ever hearing any suggested practice
for
> ordering of #includes. Do you have a simple example of an error
your
> suggestion would detect? I think I understand your rationale, but
an
> example might help.
>
> --Beman


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