
3 Mar
2010
3 Mar
'10
9:54 a.m.
For the Numeric_Bindings library (under development) we're using an identical mechanism called copy_const. I would welcome such an addition to the type traits library.
I too have needed and created propogate const (actually propogate const and/or volatile). I'd definitely appreciate such an addition to Boost.TypeTraits.
My gut feeling would be to call this "copy_cv" and it would do what it's name suggests, take a type and make it's cv-qualifiers the same as some other type. Would someone please file a feature request on the Trac for this so it doesn't get lost? Thanks, John.