title: nested class access control in C++
body: <p>Can inner class access a private member variable of its enclosing class?  There seems to be some contradictions on the internet and compiler.   Compile (g++ on cygwin) allows it.  But, some technical documents say that it is not allowed.</p>