Simulating sub types

bearophile bearophileHUGS at lycos.com
Fri Aug 2 04:47:44 PDT 2013


JS:

> the fact remains that I can't do it in Dlang.

Is tagging the inner class as static helping?

class A {
     static class B { ... }
}

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list