
19 Dec
2009
19 Dec
'09
10:32 a.m.
I would have thought that there must be a way to get the minimum and maximum value for a C++ built-in type but my search through mpl and type_traits yields nothing and numeric_limits requires a run-time function call. Surely this information is available to the compiler so it must be available to the TMP programmer somewhere. Where is it ?
boost/integer_traits.hpp part of Boost.Integer. HTH, John.