
4 Jul
2006
4 Jul
'06
12:13 p.m.
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.