Function-pointer valued enums

tsbockman thomas.bockman at gmail.com
Sat Jan 23 06:13:03 UTC 2021


On Saturday, 23 January 2021 at 00:21:25 UTC, H. S. Teoh wrote:
> Amazingly, it works!  Did you know that in D, enums can be 
> function-pointer-valued?  :-D

Cool! Hopefully this doesn't have any weird pitfalls; I'm 
guessing it hasn't been tested much?


More information about the Digitalmars-d mailing list