
3 May
2010
3 May
'10
5:52 p.m.
on 03.05.2010 at 21:39 vicente.botet wrote :
If they weren't defined, could generic code work with them? The GCC specialization for the int type includes all of the members, even the ones that are only applicable to floating-point values, so I did too.
How generic code could work if the returned values are not applicable, not significant. I would prefer a compile error than a runtime error. ...
std::numeric_limits comes from C++ standard so you must consult the standard to figure out why is std::numeric_limits designed the way it is -- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out