This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]