diff options
Diffstat (limited to 'core/math/concepts.hh')
| -rw-r--r-- | core/math/concepts.hh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/math/concepts.hh b/core/math/concepts.hh index 70859c2..10cb74a 100644 --- a/core/math/concepts.hh +++ b/core/math/concepts.hh @@ -1,11 +1,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 +#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
|
