Geogram
Version 1.9.1-rc
A programming library of geometric algorithms
|
Limits helper class that extends std::numeric_limits. More...
#include <geogram/basic/numeric.h>
Limits helper class that extends std::numeric_limits.
LimitsHelper extends std::numeric_limits to provide additional information about numeric types T
. Template parameter is_numeric
receives the value std::numeric_limits<T>::is_specialized
which is true
for all numeric types and false
for the other types. The template is specialized for is_numeric
== true
to define additional information. For non-numeric types, the default template does not define anything.
T | an object type |
is_numeric | is true if type T is a numeric type, false otherwise. |