Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-02-04 19:11:23


Daniel Frey wrote:

[...]

>> I might be misunderstanding you, but the above does not match the
>> type "int (X::*)(long, double) const." E.g. if I have this template:
>
> I think you misunderstood me. I should have made it clearer what I was
> refering to when I wrote "matches the above specialization". By this I
> was refering to Peters question to find something that is taken by the
>
> template< class C, typename T >
> struct is_member_function_pointer< T C::* const >
> { enum { value = is_function< T >::value }; };
>
> specialization I provided. At least that is how I understood him.

[...]

> Yes. My problem is that I still don't understand what Peter is trying
> to
> show and that makes me kind of nervous :)

[deep breath]

I think that he thought that you might have thought that the cv-qualified
specializations would match pointers-to-cv-qualified-member-functions rather
than just cv-qualified-pointers-to-members.

[phew]

Paul Mensonides


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