Boost logo

Boost :

Subject: Re: [boost] namespace boost?
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-01-18 12:17:51


On Sun, Jan 16, 2011 at 12:10 AM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> On 1/15/2011 8:24 PM, Dave Abrahams wrote:
>>
>> At Sat, 15 Jan 2011 17:12:37 -0500,
>> Kim Barrett wrote:
>>>
>>>
>>> http://www.boost.org/doc/libs/1_45_0/libs/tuple/doc/design_decisions_rationale.html
>>> "For those who are really interested in namespaces"
>>
>> Interesting.  I wonder if those errors they encountered with using are
>> conforming behavior and/or obsolete issues due to compiler fixes.
>
> I'm sure that the errors are correct.
> The code in question is
>
> |namespace boost {
>  namespace tuple {
>    class tuple;
>  }
>  using tuple::tuple; // error
> }
> |
> Obviously you can't have a namespace
> and a class in the same scope without
> errors.  This isn't going to be an issue
> unless a library puts something
> directly under namespace boost, which
> we're discouraging anyway.

Then I say, "make it match the library name, with a bias towards
singular library names."

-- 
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