Initializing a table of delegates with no-op stubs

Arine arine123445128843 at gmail.com
Fri Jan 10 17:59:53 UTC 2020


This works too:

     struct S {
         void function(int) f1 = (int) { }; // OK
     }

Which makes me think, it isn't allowing it because of the context 
pointer. But if that context pointer is null, it should work. 
File a bug report and hope it gets fixed soon™?







More information about the Digitalmars-d mailing list