Peter Dimov wrote:
> 
> Paul Mensonides wrote:
> >
> > [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.
> 
> Yes, exactly. Apologies for the confusion. It is a common mistake to provide
> only R T::* and expect that to match all pointers to members. To get back to
> your earlier post,
> 
> int (X::*pf) () const;
> 
> is not the same as
> 
> typedef int (*F) () const;
> typedef F X::* pf;
> 
> since the first typedef is ill-formed, function types cannot be
> cv-qualified.

The standard seems to disagree, see 9.3.1/9. Or is it just
pointers-to-functions against pointer-to-member-functions?

> Either way, it seems that you meant what you said, i.e. cv-qualified
> pointers to members. Sorry for the noise.

No problem, I just wanted to make sure I don't miss some important
point..

Regards, Daniel

-- 
Daniel Frey

aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: [EMAIL PROTECTED], web: http://www.aixigo.de
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to