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

Integral or floating-point type. More...

#include <StormByte/type_traits/categories.hxx>

Concept definition

template<typename T>
Integral or floating-point type.
Definition categories.hxx:209
Floating-point type (float, double, long double).
Definition categories.hxx:197
Integral type (bool, char, int, long, …), including cv.
Definition categories.hxx:185

Detailed Description

Integral or floating-point type.

Template Parameters
TType to test.
template<Type::Arithmetic T>
T compute(T x) { return x * 2; }