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 입니다. 모든 기본 타입은 bounded이지만, 이 상수는 라이브러리에서 제공하는 임의 정밀도 산술 타입에 대한 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)