Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::Numeric::Limits< T > Struct Template Reference

Extends std::numeric_limits with additional information. More...

#include <geogram/basic/numeric.h>

Inheritance diagram for GEO::Numeric::Limits< T >:
GEO::Numeric::LimitsHelper< T, std::numeric_limits< T >::is_specialized >

Detailed Description

template<class T>
struct GEO::Numeric::Limits< T >

Extends std::numeric_limits with additional information.

Limits provides additional information about numeric types that are not available in std::numeric_limits:

  • size: the size of the numeric type in bytes
  • numbits: the size of the numeric type in bits These types are defined in the helper class LimitsHelper for numeric types only. They are not defined for non-numeric types.

Definition at line 259 of file numeric.h.


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