std::numeric_limits<T>::is_specialized
提供: cppreference.com
<tbody>
</tbody>
<tbody class="t-dcl-rev ">
</tbody><tbody>
</tbody>
static const bool is_specialized; |
(C++11未満) | |
static constexpr bool is_specialized; |
(C++11以上) | |
std::numeric_limits<T>::is_specialized の値は、 std::numeric_limits の特殊化が存在するすべての T に対して true になります。
標準の特殊化
T
|
std::numeric_limits<T>::is_specialized の値
|
| /* 非特殊化 */ | false
|
bool
|
true
|
char
|
true
|
signed char
|
true
|
unsigned char
|
true
|
wchar_t
|
true
|
char8_t (C++20)
|
true
|
char16_t (C++11)
|
true
|
char32_t (C++11)
|
true
|
short
|
true
|
unsigned short
|
true
|
int
|
true
|
unsigned int
|
true
|
long
|
true
|
unsigned long
|
true
|
long long (C++11)
|
true
|
unsigned long long (C++11)
|
true
|
float
|
true
|
double
|
true
|
long double
|
true
|
関連項目
[静的] |
整数型を識別します (パブリック静的メンバ定数) |
[静的] |
IEC 559/IEEE 754 の浮動小数点型を識別します (パブリック静的メンバ定数) |
[静的] |
正確な型を識別します (パブリック静的メンバ定数) |
[静的] |
値の有限集合を表現する型を識別します (パブリック静的メンバ定数) |