Possible accepts invalid in C++: Thing::Thing::...::Thing::

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a code snippet that looks illegal to me.  It involves an enum in
a class that can be accessed by prepending the class name an arbitrary
number of times.

This occurs in gcc-3.4.*, gcc-3.1.1, gcc-4.3.

What do the language gurus say?

Ed Smith-Rowland

Attachment: gcc_bug.cpp
Description: gcc_bug.cpp


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux