Standard library header <climits>
From cppreference.net
Dieser Header war ursprünglich in der C-Standardbibliothek als <limits.h> enthalten.
Dieser Header ist Teil der Type-Support -Bibliothek, insbesondere ist er Teil der C-Numerik-Grenzwerte-Schnittstelle .
Makros
|
CHAR_BIT
|
Bitbreite eines Bytes
(Makrokonstante) |
|
MB_LEN_MAX
|
Maximale Anzahl Bytes in einem Multibyte-Zeichen
(Makrokonstante) |
|
CHAR_MIN
|
Minimalwert von
char
(Makrokonstante) |
|
CHAR_MAX
|
Maximalwert von
char
(Makrokonstante) |
|
SCHAR_MIN
SHRT_MIN
INT_MIN
LONG_MIN
LLONG_MIN
(C++11)
|
Minimalwert von
signed
char
,
short
,
int
,
long
und
long
long
entsprechend
(Makrokonstante) |
|
SCHAR_MAX
SHRT_MAX
INT_MAX
LONG_MAX
LLONG_MAX
(C++11)
|
Maximalwert von
signed
char
,
short
,
int
,
long
und
long
long
entsprechend
(Makrokonstante) |
|
UCHAR_MAX
USHRT_MAX
UINT_MAX
ULONG_MAX
ULLONG_MAX
(C++11)
|
Maximalwert von
unsigned
char
,
unsigned
short
,
unsigned
int
,
unsigned long und unsigned long long entsprechend (Makrokonstante) |
Übersicht
#define CHAR_BIT /* siehe Definition */ #define SCHAR_MIN /* siehe Definition */ #define SCHAR_MAX /* siehe Definition */ #define UCHAR_MAX /* siehe Definition */ #define CHAR_MIN /* siehe Definition */ #define CHAR_MAX /* siehe Definition */ #define MB_LEN_MAX /* siehe Definition */ #define SHRT_MIN /* siehe Definition */ #define SHRT_MAX /* siehe Definition */ #define USHRT_MAX /* siehe Definition */ #define INT_MIN /* siehe Definition */ #define INT_MAX /* siehe Definition */ #define UINT_MAX /* siehe Definition */ #define LONG_MIN /* siehe Definition */ #define LONG_MAX /* siehe Definition */ #define ULONG_MAX /* siehe Definition */ #define LLONG_MIN /* siehe Definition */ #define LLONG_MAX /* siehe Definition */ #define ULLONG_MAX /* siehe Definition */