名前空間
変種
操作

std::integral

提供: cppreference.com
< cpp‎ | concepts
ヘッダ <concepts> で定義
template < class T >
concept integral = std::is_integral_v<T>;
(C++20以上)

コンセプト integral<T>T が整数型である場合に限り満たされます。

[編集] 関連項目

型が整数型かどうか調べます
(クラステンプレート) [edit]