Boost logo

Boost :

Subject: Re: [boost] [type traits] add a set of templates to propagate const etc from one type to another?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-03-02 11:42:25

Vasilis Vasaitis wrote:

> That is, propagate_const<Source, Target> will only add const to
> Target if Source is const too.

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.



Boost list run by bdawes at, gregod at, cpdaniel at, john at