[Bug c++/31423] Improve upon "invalid use of member (did you forget the '&' ?)"
jwakely dot gcc at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 5 16:41:00 GMT 2009
------- Comment #3 from jwakely dot gcc at gmail dot com 2009-08-05 16:40 -------
&c.f isn't even valid, it should be &C::f
I didn't check the code, but that message isn't used for member variables or
nested types, so if it does only apply to member functions then I think
changing '&' to '()' unconditionally makes sense.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31423
More information about the Gcc-bugs
mailing list