Proposed improvements to the separate compilation model

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Mar 4 16:41:11 PST 2013


 3/5/13, Rob T <alanb at ucora.com> wrote:
> In that case it would be nice to avoid most of the class name
> duplication, that's one of the things I really disliked about C++.

I guess you meant:

class A
{
    class B;
}

class A.B
{
    // implementation
}

Ideally both styles would be supported.


More information about the Digitalmars-d mailing list