An Experiment: From C Definitions To Templates
This is a tangent, but a forgivable one, no?
Today's mind-blowing Mad Computer Science features:
- An experiment morphing a regular old C style set of functions into a set of C++ templates.
- We rename a literal parameter type to a template parameter T and voila!
- This will help demystify the horrible noise in the messy STL templates by making a simple transition from main_1 to main_2, in which error messages from the compiler
...