|
|
|
|
|
|
void outter::inner::foo( void ) {} // not okay - 'nested' class is private! | @Disch void outter::inner::foo( void ) {} // not okay - 'nested' class is private! This code here is not only perfectly legal, but is how you do it. Whether or not the function is private or not does not matter. |