Cool pattern or tragic?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Aug 25 21:48:54 UTC 2023
I do something similar with my error types.
I have a method called assumeOkay. It'll assert if it isn't ok.
There is also unsafeGetLiteral for slice based types.
All @system.
More information about the Digitalmars-d-learn
mailing list