[C++-sig] Re: Re: sub module support in V2

Dave Hawkes daveh at cadlink.com
Mon Jun 10 03:17:45 CEST 2002


"David Abrahams" <david.abrahams at rcn.com> wrote in message
news:28bc01c21015$dfc9fef0$6601a8c0 at boostconsulting.com...
> I
> > like any of this, so maybe there should just be an assertion if the
> parent
> > classes are not created prior to the nested classes?
>
> I thought of that; I think it's about all we can do...
>
> ...unless we add a parent scope argument to class' constructor,
reminiscent
> of v1. At least it could be optional in v2.
>

How large a depth of nested classes do we have to support? Its just too much
complexity for a little gain. I think for now it's not unreasonable that the
user creates the nested classes in order. If we come up with a better
solution later it won't break anything.

Dave Hawkes









More information about the Cplusplus-sig mailing list