static class

Michael pr at m1xa.com
Sun Feb 17 13:19:52 PST 2013


Why members of static class are not implicitly static?

static class Test
{
  void foo() {}
}

> Error: need 'this' for foo type void()


More information about the Digitalmars-d-learn mailing list