Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


explicit overloads or concepts




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: