Hacker News new | ask | show | jobs
by gpderetta 3536 days ago
> and won't have access to private portions of the outer class

Nested and member function local classes are actually implicitly friends of the containing class. Not all compilers were conforming in this area though.