Topic: How do I forward declare a nested class?
Author: jane@mullian.ee.mu.OZ.AU (jane lynette cosham)
Date: 23 Aug 92 14:22:35 GMT Raw View
This is something I keep coming up to and can never figure out the
syntax for.
How do you forward declare a nested class?
eg if I have a class A and 2 classes nested within A (say B & C), and
functions in both B and C take pointers to the other (ie C needs A::B*
and B needs A::C*) - how do I do this?
BTW I am using both BC 3.0 and MSC 7.0 and can't figure this out for
either. I can't find any reference to this in manuals for either
compiler or in the ARM.
Thanks to all
Jane