StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
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:163
Floating-point type (float, double, long double).
Definition categories.hxx:151
Integral type (bool, char, int, long, …), including cv.
Definition categories.hxx:139

Detailed Description

Integral or floating-point type.

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