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]

Re: c++/61: static initializers cannot access private members


Synopsis: static initializers cannot access private members

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Sun Dec  9 12:29:55 2001
State-Changed-Why:
    Ahem, this code is ill formed.
    you meant to write
     void (Widget::*Widget::fptr[])(int) const = {
    what you did write is a nonmember var!
    
    With that correction, things are ok

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=61&database=gcc


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