From: John Maddock (john_at_[hidden])
Date: 2008-07-29 08:02:21
joel falcou wrote:
> While we're speaking of traits, could it be possible to have a
> remove_all_pointers which remove all the pointer qualifier of a type
> like remove_all_extent do for arrays) ?
Anyone else have a need for this?
> Other point, shouldn't
> the return type of all meta-function be mpl::true_ and mpl::false_ ?
> It is somehow cumbersome to have two set of boolean meta-data.
type_traits uses integral_constant<bool,val> for true/false results which in
turn inherits from mpl::bool_<val> so the two should be completely
compatible with each other. Note that integral_constant is part of the TR1
and the next std, where as MPL is not, so type_traits won't be changing in
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk