News for hackers. Stuff that matters.
Re:Show HN: Crown – A flexible game engine written from scra... by zakirenish on Thursday June 22, 2017 @09:41AM (#14612134)
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?
Re:Show HN: Crown – A flexible game engine written from scra... by nyanscat on Thursday June 22, 2017 @11:36AM (#14612967)
explicit overloads or concepts