Boost logo

Boost :

Subject: Re: [boost] Boost policy for putting headers in boost/ Was: #3541 Support <boost/ptr_map.hpp>
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-10-26 11:07:51

Stewart, Robert wrote:
> Joel de Guzman wrote:

>> FWIW, we've solved that by having a flat include
>> directory. It's the include/ dir you see up there. The
>> directory contains all forwarding headers. For instance, see
>> You have:
>> #include <boost/fusion/include/deref.hpp>
>> in addition to the modular:
>> #include <boost/fusion/iterator/deref.hpp>
> That's just confusing.

It's not for me and for fusion users (never had a complaint).

> Why would you want multiple copies of the same header or multiple ways to include the same functionality? Besides, wouldn't the equivalent to what Dave noted be the following?
> #include <boost/fusion/deref.hpp>

Then you defeat the neat, modular *and consistent* layout.


Joel de Guzman
Meet me at BoostCon

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