Boost logo

Boost :

Subject: Re: [boost] Namespace policy: putting names in boost::detail
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-07-04 15:33:41


On 7/4/2011 1:54 PM, Robert Ramey wrote:
> Mathias Gaunard wrote:
>> A GSoC student and I are currently converting a library to use the
>> namespace boost::simd.
>>
>> Some of the implementation details of the library are not
>> simd-specific, and we would like to use them in some other libraries that
>> extend
>> boost::simd.

[...]

>> Would it be ok to put them in the boost::detail namespace, or is that
>> considered as bad as putting stuff in the boost namespace?
>
> I think we want to move away from including anything
> in boost::detail. Consider making you're "sublibrary" as
>
> boost::smid::sublibrary.
>
> Should the sublibrary attract wider interest so it
> might be considered promotion, all you'll have to do
> is do a global replace boost::smid::sublibrary<- boost::sublibrary.
> In fact, if you've used "using" judiciously in your code
> even that would be trivial.

+1

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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