betterC shared static ctor

vit vit at vit.vit
Wed Jul 21 08:02:42 UTC 2021


Is it possible to call all shared static ctors in betterC?
```d
//-betterC

static immutable int i;

shared static this(){
	i = 42;
}
extern(C) void main(){
     assert(i != 42);

}

```


More information about the Digitalmars-d mailing list