Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-07-04 08:13:40


Peter Soetens wrote:

> [...] I tried using boost::remove_pointer<F>,
> which didn't work and confirmed back then my assumption (confusingly,
> is_pointer<F> did work, but I could not remove it using
> type_traits...)

This is probably a bug (in the compiler or in type_traits); when
is_pointer<F> reports true, remove_pointer<F> should work... I don't see
this case covered by the type traits tests, but they aren't very readable,
so I might've missed it. In any event, it won't hurt if you send a small
test case to John Maddock.


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