std::numeric_limits::is_bounded
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> static const bool is_bounded |
(bis C + +11) | |
static constexpr bool is_bounded |
(seit C++11) | |
Der Wert ist
std::numeric_limits<T>::is_bounded true für alle arithmetischen Typen T, die eine endliche Menge von Werten repräsentieren. Während alle grundlegenden Typen beschränkt sind, würde diese Konstante false werden in einer Spezialisierung der std::numeric_limits für eine Bibliothek bereitgestellten Langzahlarithmetik Typ Original:
The value of
std::numeric_limits<T>::is_bounded is true for all arithmetic types T that represent a finite set of values. While all fundamental types are bounded, this constant would be false in a specialization of std::numeric_limits for a library-provided arbitrary precision arithmetic type The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Standard Spezialisierungen
T
|
Wert
std::numeric_limits<T>::is_bounded Original: value of std::numeric_limits<T>::is_bounded The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| /* non-specialized */ | false
|
bool
|
true
|
char
|
true
|
signed char
|
true
|
unsigned char
|
true
|
wchar_t
|
true
|
char16_t
|
true
|
char32_t
|
true
|
short
|
true
|
unsigned short
|
true
|
int
|
true
|
unsigned int
|
true
|
long
|
true
|
unsigned long
|
true
|
long long
|
true
|
unsigned long long
|
true
|
float
|
true
|
double
|
true
|
long double
|
true
|
