std::numeric_limits::is_bounded
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> static const bool is_bounded |
(até C++11) | |
static constexpr bool is_bounded |
(desde C++11) | |
O valor da
std::numeric_limits<T>::is_bounded é true para todos os tipos aritméticos T que representam um conjunto finito de valores. Embora todos os tipos fundamentais são limitados, esta constante seria false em uma especialização de std::numeric_limits para um tipo de biblioteca, desde a aritmética de precisão arbitrária 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.
Especializações padrão
T
|
valor de
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
|
Veja também
[estática] |
identifica os tipos inteiros Original: identifies integer types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (membro estático público constante) |
[estática] |
identifica os tipos assinados Original: identifies signed types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (membro estático público constante) |
[estática] |
identifica os tipos de exatas Original: identifies exact types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (membro estático público constante) |