Geogram  Version 1.9.0
A programming library of geometric algorithms
GEO::Numeric::LimitsHelper< T, is_numeric > Struct Template Reference

Limits helper class that extends std::numeric_limits. More...

#include <geogram/basic/numeric.h>

Inheritance diagram for GEO::Numeric::LimitsHelper< T, is_numeric >:

Detailed Description

template<class T, bool is_numeric>
struct GEO::Numeric::LimitsHelper< T, is_numeric >

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.

Template Parameters
Tan object type
is_numericis true if type T is a numeric type, false otherwise.

Definition at line 231 of file numeric.h.


The documentation for this struct was generated from the following file: