This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/6709] typeof() cannot be used with the :: operator
- From: "hakonrk at fys dot uio dot no" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2003 23:05:31 -0000
- Subject: [Bug c++/6709] typeof() cannot be used with the :: operator
- References: <20020517154601.6709.marco@technoboredom.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hakonrk at fys dot uio dot no 2003-11-24 23:05 -------
Just noticed this bug myself. You can work around it by creating
a temporary typedef. E.g.,
typedef typeof(obj) T;
T::size_type s;
Still annoying though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6709