Fermat
Static Public Methods | List of all members
cugar::field_traits< T > Struct Template Reference

Detailed description

template<typename T>
struct cugar::field_traits< T >

A generic class to represent traits of numeric types T. Unlike STL's numeric_traits, field_traits<T>::min() and field_traits<T>::max() are signed.

#include <numbers.h>

Static Public Methods

static T min ()
 
static T max ()
 

Member Function Documentation

◆ max()

template<typename T >
static T cugar::field_traits< T >::max ( )
inlinestatic

return the maximum value of T

◆ min()

template<typename T >
static T cugar::field_traits< T >::min ( )
inlinestatic

return the minimum value of T


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