diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-17 20:26:51 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-17 20:27:05 +0100 |
commit | d5ca487e71290aee7ed675f3002265b6f1032347 (patch) | |
tree | 688d2277bda5f5dd21abdbb23eac7f072c49f741 /compat/limits.hpp | |
parent | 2e5aac0627c438d2aa709430c56e1cb1f0eec78f (diff) |
d
Diffstat (limited to 'compat/limits.hpp')
-rw-r--r-- | compat/limits.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/limits.hpp b/compat/limits.hpp index 0de74afa..93c66951 100644 --- a/compat/limits.hpp +++ b/compat/limits.hpp @@ -35,7 +35,7 @@ template<> struct limits<double> using integer_type = int64_t; }; -template<typename T> requires std::is_arithmetic_v<T> using int_max = typename limits<T>::max;; -template<typename T> requires std::is_arithmetic_v<T> using int_min = typename limits<T>::min;; +template<typename T> requires std::is_integral_v<T> using int_max = typename limits<T>::max; +template<typename T> requires std::is_integral_v<T> using int_min = typename limits<T>::min; } // namespace floormat |