
2 Mar
2010
2 Mar
'10
5:49 p.m.
On Tue, Mar 2, 2010 at 11:42 AM, Rutger ter Borg <rutger@terborg.net> wrote:
Vasilis Vasaitis wrote:
[snip]
That is, propagate_const<Source, Target> will only add const to Target if Source is const too.
[snip]
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. -- -Matt Calabrese