Boost logo

Boost :

Subject: Re: [boost] Boost Modularization
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-01-31 13:49:54


At Mon, 31 Jan 2011 18:18:44 +0000,
Daniel James wrote:
>
> On 31 January 2011 17:28, Robert Ramey <ramey_at_[hidden]> wrote:
> >
> > a) libraries should not place any header files directly in the boost
> > directory or in the boost namespace. The only exception
> > would be a "convience header" in the boost directory which
> > would include the headers in the library directory.
>
> I'd suggest that headers in the boost directory should only include a
> single header of the same name (or maybe 'all.hpp') from the library
> directory. This would ensure that they never change so they're never
> an issue for version control.

I think I would (mildly) prefer

  boost/libname.hpp => boost/libname/libname.hpp => whatever

just so I don't end up with 40 files named all.hpp in my editor, which
is a bit harder to manage.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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