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

Reply via email to