
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?
We need to inject overloads and specializations into a unique namespace for boost.simd and NT2, so we could need two names, like boost::detail::dispatch and boost::detail::specialize.
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. Robert Ramey