We can not write a common interface for classes and structs. Concepts or constraints can provide that.
we can write a common interface for both - but not a contract checking one
We can not write a common interface for classes and structs. Concepts or constraints can provide that.
we can write a common interface for both - but not a contract checking one