Hacker News new | ask | show | jobs
by zakirenish 3286 days ago
Well, let me give you an example that I have seen recently. There was this function that suppose to convert numeric value to string. So numeric type was templatized. Then with combination of enable_if and static_asserts there were checks to avoid doubles/floats negative numbers. So whats there left besides unsigned integers?
1 comments

explicit overloads or concepts