4 ms·
Is there a chance to ever see C++-template-like features appear in C? For instance, a lot of redundant code (or ugly macro business) could be neatly replaced b
by magicbanana 7y ago
Is there a chance to ever see C++-template-like features appear in C?
For instance, a lot of redundant code (or ugly macro business) could be neatly replaced by function templates. Even just template functions with only POD values allowed would be a great readability improvement.
- MiKom 7y agoIt's already there. It's called C++ templates