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
>> http://tinyurl.com/yj86r8v. 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.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net
http://www.facebook.com/djowel
Meet me at BoostCon
http://www.boostcon.com/home
http://www.facebook.com/boostcon

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