summaryrefslogtreecommitdiffstats
path: root/core/math/concepts.hh
blob: 70859c206c5867fa98b9767b3b1b3fe42b0e6f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

namespace math
{
template<typename T>
concept Arithmetic = std::is_arithmetic_v<T>;
template<typename T>
concept Integer = std::is_integral_v<T>;
template<typename T>
concept FloatingPoint = std::is_floating_point_v<T>;
} // namespace math