Boost logo

Boost :

From: Gary Powell (powellg_at_[hidden])
Date: 2001-11-23 10:12:34


>>
I noticed that boost libraries, when using other boost libraries, include
them using angle brackets. I guess this is the way to go, right?

In that case, any.h should be changed because it uses quotes to include
boost/config.hpp.
<<
There has been some discussion on this because it isn't clear from the
standard. However at one time I was told by B.Stroustrup that <> were for
standard headers and "" for anything else. Some compilers just use the
difference for where to start searching, i.e. "" starts in local directory,
followed by -IPATH, followed by system. In fact the standard 16.2.2 says for
<> the contents of the header will replace this statement, and for "", says
it will search in an implementation defined way, and if not found then try,
<>. And it appears that all current compilers find <> just fine. AFAIK, we
should be using "", but changing all the <> to "" didn't seem worth the
hassle. But either way we should be consistent, so that if it is a problem,
/#[ .]include/s/[<>]/"/g

  Yours,
 -gary-


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