Namespaces
Variants

std::numeric_limits<T>:: is_bounded

From cppreference.net
Utilities library
static const bool is_bounded ;
(C++11まで)
static constexpr bool is_bounded ;
(C++11以降)

std:: numeric_limits < T > :: is_bounded の値は、有限の値の集合を表すすべての算術型 T に対して true です。すべての基本型は有界ですが、この定数はライブラリ提供の任意精度算術型に対する std::numeric_limits の特殊化では false となります。

標準特殊化

T std:: numeric_limits < T > :: is_bounded の値
/* non-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

関連項目

[static]
整数型を識別する
(public static member constant)
[static]
符号付き型を識別する
(public static member constant)
[static]
正確な型を識別する
(public static member constant)