Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cTypeLimit< TYPE > Struct Template Reference

#include <cTypes.h>

Static Public Member Functions

static bool isNumSigned () noexcept
 

Static Public Attributes

static const TYPE k_Min
 Min value TYPE can represent. negative if signed type. NOT EPSILON (near zero). e.g. INT_MIN, -FLT_MAX. More...
 
static const TYPE k_Max
 Max positive value. Can equal this value. inclusive. AKA INT_MAX, FLT_MAX, DBL_MAX. More...
 
static const BYTE k_TypeFlags
 CTYPE_FLAG_TYPE_ = float, signed, etc ? More...
 

Detailed Description

template<typename TYPE = int>
struct Gray::cTypeLimit< TYPE >

Numeric constants (limits) each basic type. Similar to std::numeric_limits<T>::max(), or INT_MAX

Member Function Documentation

◆ isNumSigned()

template<typename TYPE = int>
static bool Gray::cTypeLimit< TYPE >::isNumSigned ( )
inlinestaticnoexcept

A signed number. might be float or int

Member Data Documentation

◆ k_Max

template<typename TYPE = int>
const TYPE Gray::cTypeLimit< TYPE >::k_Max
static

Max positive value. Can equal this value. inclusive. AKA INT_MAX, FLT_MAX, DBL_MAX.

◆ k_Min

template<typename TYPE = int>
const TYPE Gray::cTypeLimit< TYPE >::k_Min
static

Min value TYPE can represent. negative if signed type. NOT EPSILON (near zero). e.g. INT_MIN, -FLT_MAX.

◆ k_TypeFlags

template<typename TYPE = int>
const BYTE Gray::cTypeLimit< TYPE >::k_TypeFlags
static

CTYPE_FLAG_TYPE_ = float, signed, etc ?


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