|
Boost : |
Subject: Re: [boost] namespace boost?
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-01-15 16:46:52
At Sat, 15 Jan 2011 16:30:57 -0500,
Beman Dawes wrote:
>
> On Sat, Jan 15, 2011 at 3:32 PM, vicente.botet <vicente.botet_at_[hidden]>wrote:
>
> > ----- Original Message -----
> > From: "Robert Ramey" <ramey_at_[hidden]>
> > To: <boost_at_[hidden]>
> > Sent: Saturday, January 15, 2011 7:58 PM
> > Subject: [boost] namespace boost?
> >
> >
> > > I'm doing a toy project which uses a lot of boost libraries. In the
> > course
> > > of doing this,
> > > I'm reminded of something that has bugged me for a long time. That is
> > the
> > > placement of lots of
> > > stuff inside the namespace boost.
> >
> >
> > The recent accepted Boost.Ratio library place all inside namespace boost.
> > If the boost comuniti prefer I place it on boost::ratios namespace i wil
> > adapt the code before releasing it.
> >
> > +1, although I think the name should be boost::ratio rather than
> boost::ratios
If it has a type called "ratio" in it, "ratios" might be a better
choice for the namespace. That, at least, is how tuple did it. I
can't find a good rationale for that choice now, but once upon a time
it used to be our recommended practice.
-- 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