3 ms·
Why would this be required?
by uecker 2y ago
Why would this be required?
- pjmlp 2y agoBecause otherwise there is no mechanism to introduce types, that can be used as built-is, while having the connection points across the language to enforce variants.
- uecker 2y agoWhat I do not get is the "can be used as built-in" part. What exactly does this mean? You can enforce invariants by encapsulating structures behind an API. This works fine in C (even better than in C++ IMHO).