|
Boost : |
Subject: Re: [boost] [type traits] add a set of templates to propagate const etc from one type to another?
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-03-02 14:35:19
Daniel Larimer wrote:
> Along the same lines... I find I need a "remove_const_ref" template all of the time. For now I have been using
> a macro RCR() that uses remove_const and remove_ref. There is a balance between having orthogonal features and having convenience features. I don't know where that line is. Surely you do not want to enumerate every possible combination of add/remove.
>
and so does remove_all_pointers or remove_all_extents etc.
I think such are actually nice addition (more like the has_operator_xxx
by Frederic).
-- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk