Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-11-14 12:42:55

At 10:54 AM 11/14/2004, John Maddock wrote:

>> Presumably the tr1 subtree would go in the boost directory?
>I don't know, lets see what folks want: whatever this directory would
>to be in the users include path (as well as the regular boost tree).

Let's look at some examples:

   // example 1: tr1 directory lives in boost
   #include <boost/tr1/regex.hpp>

   // example 2: tr1 directory lives in boost-root
   #include <tr1/regex.hpp>

   // example 3: tr1 directory lives in boost-root/libs and
   // user doesn't wish to modify compiler's include search paths
   #include <libs/tr1/regex.hpp>

   // example 4: tr1 directory lives in boost-root/libs and
   // user modifies compiler's include search paths to search
   // boost-root/libs
   #include <tr1/regex.hpp>

I like example 1 the best. Clear to the reader. Easy for the user. Very
similar to how other boost supplied headers are treated. Doesn't foul up
boost tools which search the boost directory for header files.


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