6 ms·
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 templa
by zakirenish 9y 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?
- nyanscat 9y agoexplicit overloads or concepts