From: Vesa Karvonen (vesa.karvonen_at_[hidden])
Date: 2001-07-05 13:47:57
From: "Peter Dimov" <pdimov_at_[hidden]>
> 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
I'm not convinced that this helps much in the Boost case. Boost headers are
included relative to the boost directory <boost/...>, so the chances of
getting the wrong header are rather small.
BTW: Relying on "..." to search in the current directory is a bad idea,
because there are so many compilers that don't search the current directory.
> * Some compilers treat the <...> code less "strictly", suppressing some high
> level warnings that are good to have in user code, but often superfluous in
> a low-level library.
I'm not really convinced that this is a benefit. I really don't like the idea
of having some obscure bug, that would have been indicated by a warning,
hidden in Boost because of using <...>.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk