Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Default User" <defaultuserbr@yahoo.com> |
|---|---|
| Newsgroups | comp.std.c++ |
| Subject | Re: Pointers to member functions |
| Date | 2011-08-26 11:19 -0700 |
| Organization | unknown |
| Message-ID | <9bpo9kFhgoU1@mid.individual.net> (permalink) |
| References | <9bip7iFevdU1@mid.individual.net> <j365vr$4o8$1@dont-email.me> |
"Daniel Kr=FCgler" <daniel.kruegler@googlemail.com> wrote in message news:j365vr$4o8$1@dont-email.me... > > Am 25.08.2011 02:38, schrieb Default User: >> The fine folks over on the other group have pretty much convinced me >> that >> it's undefined behavior. > It seems to me that the code is well-formed and well-defined. IMO the > meaning in regard to the pointer-to-member operations is fully described > by 5.2.9 [expr.static.cast] p9, 5.5 [expr.mptr.oper] p2+4+6 in the C++03 > standard (Only little has been changed for C++11, and nothing which is > related to your example). In the interim between the original post and yours, opinion on CLC++ shifte= d to your conclusion. Thanks for the second look. I feel confident going forward with this solution now. It will save a good deal of duplicate code in the subclasses. Brian -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Previous in thread | Find similar
Pointers to member functions "Default User"<defaultuserbr@yahoo.com> - 2011-08-24 17:38 -0700
Re: Pointers to member functions Daniel Krügler<daniel.kruegler@googlemail.com> - 2011-08-25 20:51 -0600
Re: Pointers to member functions "Default User" <defaultuserbr@yahoo.com> - 2011-08-26 11:19 -0700
csiph-web