The whole point of a struct in an OOP Language is to allow user defined types that prohibit inheritance.
Why do someone like `C++`, because it gives you freedom, no matter `what you do`.
zjh via Digitalmars-d-announce Sun, 28 Aug 2022 23:36:45 -0700
The whole point of a struct in an OOP Language is to allow user defined types that prohibit inheritance.
Why do someone like `C++`, because it gives you freedom, no matter `what you do`.