Boost logo

Boost :

Subject: Re: [boost] [TypeTraits] Type traits for member pointers?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-07-17 14:55:54


AMDG

Celtic Minstrel wrote:
> Just wondering, why is it necessary to specialize member_pointer for
> member function types? After all, in a type "T Q::*" the T could be a
> function type "void(int)", which would make the full type
> "void(Q::*)(int)", right?
>

void (Q::*)(int) const is a legal type.
void(int) const is not.

In Christ,
Steven Watanabe


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