Subject: Re: [boost] [type_traits][general] Best practice for inline namespaces?
From: Rogerio dos Santos (rogerio.santos.main_at_[hidden])
Date: 2015-01-18 08:45:01
On Sun, Jan 18, 2015 at 6:16 AM, John Maddock <jz.maddock_at_[hidden]>
> I was thinking of adding inline namespace support (ie lib versioning) to
> type_traits, but what's the best practice for naming the inline namespace?
> I was thinking of going with some mangled version of BOOST_VERSION which
> would effectively change the namespace with each release. That feels like
> it's probably right to me: old versions of any traits would then be
> archived in boost::tt105600:: or whatever version the change happened.
The Google style (
http://google-styleguide.googlecode.com/svn/trunk/cppguide.html) is against
inline namespace usage, but I see that in case of multiple versioning this
might me interesting to use.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk