This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/6190] T::C.X is accepted, although it should read T::C::X
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 15:27:34 -0000
- Subject: [Bug c++/6190] T::C.X is accepted, although it should read T::C::X
- References: <20020405094601.6190.reichelt@igpm.rwth-aachen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6190
------- Additional Comments From reichelt@gcc.gnu.org 2003-06-02 15:27 -------
Just for the record: If you insist on using an object, you have to write:
return typename T::C().X;
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.