[Bug c++/6709] typeof() cannot be used with the :: operator

hakonrk at fys dot uio dot no gcc-bugzilla@gcc.gnu.org
Mon Nov 24 23:05:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list