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


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, gregod at, cpdaniel at, john at