std::Integral

Defined in header <concepts>
template < class T >
concept Integral = std::is_integral_v<T>;
(since C++20)

The concept Integral<T> is satisfied if and only if T is an integral type.

See also

(C++11)
checks if a type is an integral type
(class template)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/concepts/Integral