StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Type::Integral Concept Reference

Integral type (bool, char, int, long, …), including cv. More...

#include <StormByte/type_traits/categories.hxx>

Concept definition

template<typename T>
concept StormByte::Type::Integral = std::is_integral_v<T>
Integral type (bool, char, int, long, …), including cv.
Definition categories.hxx:185

Detailed Description

Integral type (bool, char, int, long, …), including cv.

Template Parameters
TType to test.
template<Type::Integral T>
T add(T a, T b) { return a + b; }