3 ms·
I agree absolutely: templates are only just a little less crappy than preprocessor magic. I personally never use them.
by angelortega 15y ago
I agree absolutely: templates are only just a little less crappy than preprocessor magic. I personally never use them.
- exDM69 15y agoYou're very wrong. C++ templates are very capable of expressing very powerful idioms. C++11 adds this to this power with variadic templates. std::function, std::tuple, etc are the future. Please do not be offended, but if that is your attitude towards a major language feature of C++, you probably should not be writing tutorials about it.