[Bug c++/59482] A friend class cannot inherit a private nested class

2014-01-31 Thread peter at hurleysoftware dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59482 Peter Hurley peter at hurleysoftware dot com changed: What|Removed |Added CC||peter at

[Bug c++/59482] A friend class cannot inherit a private nested class

2014-01-22 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59482 --- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Wed Jan 22 18:08:01 2014 New Revision: 206933 URL: http://gcc.gnu.org/viewcvs?rev=206933root=gccview=rev Log: /cp 2014-01-22 Ville Voutilainen

[Bug c++/59482] A friend class cannot inherit a private nested class

2014-01-22 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59482 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/59482] A friend class cannot inherit a private nested class

2013-12-12 Thread ville.voutilainen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59482 --- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com --- A friend function can access the private class, thus void f(); struct B { friend void f(); private: struct C {};}; void f() { struct D : B::C{}; } Some