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