Compile-time global mutables

HuskyNator HuskyNator at protonmail.ch
Thu Jun 30 13:05:51 UTC 2022


On Thursday, 30 June 2022 at 13:04:39 UTC, HuskyNator wrote:
> I'm assuming this works for counters in general? (although I do 
> not see how the member function works, this seems like a very 
> sophisticated / fault-sensitive workaround)
> Do you know there's workarounds for the other case(s) I have 
> described?

Sidenote, would this require separate files for every counter one 
requires? Seeing as allMembers is used. (assuming I understand 
the code correctly)


More information about the Digitalmars-d mailing list