|
Boost : |
Subject: Re: [boost] namespace boost?
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-01-18 10:49:27
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
Regards,
Joachim
-- Interval Container Library [Boost.Icl] http://www.joachim-faulhaber.de
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk