std::experimental::ranges::Integral

From cppreference.com
< cpp‎ | experimental‎ | ranges
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Extensions for concurrency (concurrency TS)
Concepts (concepts TS)
Ranges (ranges TS)
Special mathematical functions (special math TR)
 
 
Concepts library
Core language concepts
                              
Object concepts
                              
                              
Comparison concepts
Callable concepts
                                        
                              
URNG concept
 
template < class T >
concept bool Integral() { return std::is_integral<T>::value; }
(ranges TS)

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

Notes

Integral<T>() is normalized to the atomic predicate constraint std::is_integral<T>::value during the partial ordering of constraints.

See also

checks if a type is integral type
(class template)