using GC needs particular skills?

Alexandr Druzhinin drug2004 at bk.ru
Sun Jul 15 08:56:22 PDT 2012


15.07.2012 22:33, Alex Rønne Petersen пишет:
test case:

class A {
}
__gshared A a;

  void main(string[] args) {	
  	a = new A;
}

every time after finishing application I get 
core.exception.InvalidMemoryOperationError
I suspect the problem is misusing __gshared


More information about the Digitalmars-d-learn mailing list