Manually check struct invariants

Q. Schroll qs.il.paperinik at gmail.com
Tue Mar 23 22:22:12 UTC 2021


For a class object obj, one can use assert(obj) to get its 
invariants checked. How to do this for structs?


More information about the Digitalmars-d-learn mailing list