Boost logo

Boost :

From: Peter Soetens (peter.soetens_at_[hidden])
Date: 2006-07-04 08:41:08


Quoting Peter Dimov <pdimov_at_[hidden]>:

> 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.

I can't reproduce this anymore, so the error was probably between keyboard
and chair. The examples of the remove_pointer docs didn't mention it
either, so I gave up too early probably.

Peter

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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