DEV Community

Discussion on: What the heck is polymorphism?

Collapse
 
jvanbruegge profile image
Jan van Brügge • Edited

Call what a union? I don't see any way a C union could be considered polymorphic. It is basically just a convenience for casting.

Or do you mean that a union is as far as you can bring C's type system?