http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59482
Peter Hurley peter at hurleysoftware dot com changed:
What|Removed |Added
CC||peter at
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
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
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