
2 Mar
2010
2 Mar
'10
4:42 p.m.
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. Cheers, RUtger