Boost logo

Boost :

From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2001-11-20 12:40:16


Andrei Alexandrescu wrote:
> > I just came across a repeated need for add_cv<T>. We already have
> > remove_cv<T>. How about it, for symmetry?
>
> I guess that would be too simple: add_cv<T> is just "const
> volatile T".

And add_const<T>::type is simply 'T const' :), but see the
http://groups.yahoo.com/group/boost/message/9332 message thread.

--
Aleksey

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk