4 ms·
C++: numeric_limits<type>::max ()
by cjensen 12y ago
C++:
numeric_limits<type>::max ()
- kevin_thibedeau 12y agoAda attribute provide a lot more meta information about types and objects than just integer limits. http://en.wikibooks.org/wiki/Ada_Programming/Attributes http://en.wikibooks.org/wiki/Ada_Programming/Attributes Some of these would be methods in modern OO languages but many are unique to Ada.
- cjensen 12y agoSo does C++; both C++ and Ada have traits the other doesn't. Good ideas go around.