Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-05-30 22:48:50


on 5/30/00 9:45 PM, Beman Dawes at beman_at_[hidden] wrote:

> But the distinction is so fine that very, very, few people use <...>
> for standard library headers and "..." for other included files. At
> boost we have been following the usual practice of using <...> for
> user files.

Oh! We have? I was following my own usual rule, which is "files in the
client's project use quotes, files in external libs use angle brackets".
Since boost is an external lib (from the client's perspective), I used angle
brackets.

> Maybe we should revisit that decision, but I doubt we
> will have any impact on the majority of programmers who write <...>
> for all inclusions.

A colleague of mine recently said to me, "remind me again why the standard
lib headers don't have a .h on the end! I just hosed myself badly by having
a subdirectory in my #include path called 'string'." I told him, "that's
what the distinction between quotes and angle brackets is for." When I
started on the project he was shocked to learn that I thought quotes and
angle brackets should be treated differently, and he told me to just forget
about that because "nobody I know does things that way". I'm not sure what
lesson to draw from that. Maybe Bjarne is right. Wouldn't be the first time.

-Dave


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