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++/17585] g++ generates errors on a legal code.


------- Additional Comments From tal dot agmon at nsc dot com  2004-09-21 15:03 -------
>From the ANSI-C++ chapter 9.4 Static members:

"A static member s of class X may be referred to using the qualified id
expression X::s; it is not necessary to use the class member access syntax 
(5.2.5) to refer to a static member."
"A static member may be referred to directly in the scope of its class or in 
the scope of a class derived (clause 10) from its class"

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17585


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