I'm sure they exist for C. The difficulty with C is getting the template functionality to work the same way it does in C++. I would imagine it involves a tremendous number of void pointers, etc, and is generally ugly as all get out to work with.
I've seen classes on data types taught in C, which actually implement a number of those constructs from within C.
|