Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-01 23:25:10


on Wed Aug 01 2007, Andrey Semashev <andysem-AT-mail.ru> wrote:

> I always though that T U::* and T (U::*)() are very different
> types. I didn't find in the Standard any notes that they are the
> same.

They're not. But T U::* can be the same as X (U::*)() if T is X()

Yes, this surprised me too when I learned it. :)

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

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