8 Jun
2014
8 Jun
'14
1:18 p.m.
On Sunday 08 June 2014 16:08:07 Peter Dimov wrote:
Adam Wulkiewicz wrote:
Hi,
Recently I found some use for a tool adding const to a type if some other type is const.
...
same_cv
That's usually called copy_cv, and Google finds
https://svn.boost.org/trac/boost/ticket/3970
and
http://www.boost.org/doc/libs/master/boost/log/detail/copy_cv.hpp
The rest of the traits don't seem particularly popular.
I'm ok with moving it to TypeTraits, if anyone's interested.