hello,

I read TC++ vol2. (html ed 2004) at page 456 (chap design patterns) "the inner class idiom".
In the class "Outer" it writes:
Qt Code:
  1. class Outer {
  2. .....
  3. class Inner1;
  4. friend class Outer::Inner1;
  5. ...........
  6. };
To copy to clipboard, switch view to plain text mode 
I tried to get out those two lines and it compiles; why? What sense have they, please?

thanks,