Graphite  Version 3
An experimental 3D geometry processing program
GEO::Numeric::LimitsHelper< T, true > Struct Template Reference

Specialization of LimitsHelper for numeric types. More...

#include <geogram/basic/numeric.h>

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

Static Public Attributes

static const size_t size = sizeof(T)
 
static const size_t numbits = 8 * sizeof(T)
 

Detailed Description

template<class T>
struct GEO::Numeric::LimitsHelper< T, true >

Specialization of LimitsHelper for numeric types.

This specialization defines the following values:

  • size - the size of the numeric type in bytes
  • numbits - the size of the numeric type in bits
    Template Parameters
    Ta numeric type

Definition at line 242 of file numeric.h.

Member Data Documentation

◆ numbits

template<class T >
const size_t GEO::Numeric::LimitsHelper< T, true >::numbits = 8 * sizeof(T)
static

The size of the numeric type in bits

Definition at line 246 of file numeric.h.

◆ size

template<class T >
const size_t GEO::Numeric::LimitsHelper< T, true >::size = sizeof(T)
static

The size of the numeric type in bytes

Definition at line 244 of file numeric.h.


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