How do you initialize a class instance which has static storage within another class?

Enjoys Math via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 30 13:52:20 PST 2016


class A { static B b; } class B {}

doing b = new B() does NOT work.

Nor could I create a this() {} at module level


More information about the Digitalmars-d-learn mailing list