Re: [Boost-Users] Re: Re: Slight Alteration to Boost Directory Structure
From: "Simon Bailey
" --- In Boost-Users@yahoogroups.com, "Paul Mensonides" wrote: "William E. Kempf"
wrote in message That still misses the point. Boost currently won't help you to install the library, but installation certainly wouldn't entail copying the entire $BOOST_ROOT tree to the $INCLUDE directory on your system. You'd only copy the $BOOST_ROOT/boost tree there.
Yes, and this is why I said that it hasn't been a problem for me. However, I see where the OP is coming from as well.
Paul Mensonides
Paul understands me correctly. I confused the issue by making two requests at once.
Mainly, I want to include other libraries alongside boost and provide a single include path. That is the first wish. Bill has pointed out that I could move BOOST_ROOT/boost into my INCLUDE directory. I didn't know that - I thought it might break things.
The second thing I was suggesting (and this is quite minor) was that we make the change to include smart_ptr.hpp (etc.) and thread.hpp (etc.) at the same directory level. I thought that the subdirectories (like /thread) were the way of the future. I didn't realise that the plan was to move all the headers into BOOST_ROOT/boost.
So it seems my first wish is not needed and my second wish is already on the drawing board. :-)
No, it's never been planned to move all headers into $BOOST_ROOT/boost. That would be problematic at best. The headers are in subdirectories to avoid name clashes, and that's how it should be for large libraries and/or libraries that use common names. What many of these libraries do, and what Boost.Threads will do with the next release, however, is to have a *single* include header in $BOOST_ROOT/boost that includes all the other headers from the specific sub-library. This (mostly) avoids the dangers of name clashes, gives a simple single include file for many uses, yet retains the ability for users to include only what they need to in order to reduce compilation time, etc. For example, both of the following would be legal:
#include
participants (1)
-
William E. Kempf