|
Boost : |
Subject: Re: [boost] namespace boost?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2011-01-18 10:57:41
On 18/01/11 15:49, Joachim Faulhaber wrote:
> 2011/1/18 Mateusz Loskot<mateusz_at_[hidden]>:
>> On 18/01/11 15:23, Barend Gehrels wrote:
>>>>>>
>>>>>> Furthermore, the directory and namespace names should be
>>>>>> identical. Thus, boost/ptr_container provides code in
>>>>>> boost::ptr_container.
>>>>>
>>>>> Note that this proposal conflicts with some existing libraries (e.g.
>>>>> tuple, bimap).
>>>>
>>>> Existing libraries must be grandfathered, but that doesn't mean new
>>>> libraries should be permitted to make things even messier!
>>>
>>> I understand and agree, but I also gave a reason why this requirement is
>>> sometimes difficult to meet.
>>
>> Forgetting about the legacy and naming of existing libraries,
>> in my opinion libraries and namespaces should be singular.
>> I can't think of any reason why it has to be plural.
>
> ... it is official boost guideline, for the case that your library
> exports a class that is identical with the library's name:
> http://www.boost.org/development/requirements.html#Naming_consistency
Forgot about this one. So, I know only one reason then, this particular one.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk