Is this legal C++?
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Thu Apr 20 00:33:00 GMT 2000
> For all these reasons, we just turned down a C++ extension that Ulrich
> suggested. I feel similarly about your suggestion: it's not a bad
> idea in language design, but it's not C++, either.
I think it *is* a bad idea. If you want to implicitly dereference any
pointer-to-member if it happens to appear in a function where it could
be applied, then assigning to such pointer to member is very difficult.
Regards,
Martin
More information about the Gcc
mailing list