5 ms·
C11 got user defined generics, FYI. https://en.cppreference.com/w/c/language/generic https://en.cppreference.com/w/c/language/generic
by hoppelhase 8y ago
C11 got user defined generics, FYI.
https://en.cppreference.com/w/c/language/generic https://en.cppreference.com/w/c/language/generic
- leshow 8y agoThis is something else. C++ has had parametric polymorphism in the form of template metaprogramming for a long time (the article on hashmaps even covers it). This is one of the reasons I don't really like the name 'generics', it's a little ambiguous.
- pjmlp 8y agoIt was the term coined by CLU, Ada, Modula-3, so it is already widely used in the academia.