[Bug c++/6190] T::C.X is accepted, although it should read T::C::X
bangerth@dealii.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 2 14:54:00 GMT 2003
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 bangerth@dealii.org 2003-06-02 14:54 -------
Assuming Andrew's comment is a question: Of course this is illegal.
T::C is not an object, it is a type. You can't access members of types
using the dot operator, only the :: operator. C++!=java
W.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list