Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 32,700 of 33,346    |
|    Gene Bushuyev to Zhihao Yuan    |
|    Re: Casting a pointer-to-member from der    |
|    02 Dec 12 05:13:47    |
      From: publicfilter@gbresearch.com              On Thursday, November 29, 2012 9:32:03 PM UTC-8, Zhihao Yuan wrote:       > On Thursday, November 29, 2012 7:43:49 PM UTC-6, Daniel Kr�gler wrote:       > > Could you provide some evidence for this assertion? According to my       > > reading of [expr.static.cast] p12 or [conv.mem] p2 I see nothing that       > > restricts these conversions to non-pointer-to-member-function.       >       > I see, 8.3.3. Pointer to member covers the pointer to member       > function... The existence of the later term makes me considered that       > the first term is restricted to the data members.              Standard defines the term "member" in 9.2/1: "Members of a class are       data members, member functions (9.3), nested types,and enumerators."                     --        [ See http://www.gotw.ca/resources/clcm.htm for info about ]        [ comp.lang.c++.moderated. First time posters: Do this! ]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca