diff --git a/type.hpp b/type.hpp index 4e76b2f..cff5df6 100644 --- a/type.hpp +++ b/type.hpp @@ -36,6 +36,13 @@ template <> struct is_integral : true_type {}; template static constexpr auto is_integral_v = is_integral::value; +template struct is_floating_point : false_type {}; +template <> struct is_floating_point : true_type {}; +template <> struct is_floating_point : true_type {}; +template <> struct is_floating_point : true_type {}; + +template static constexpr auto is_floating_point_v = is_floating_point::value; + template struct is_same : false_type {}; template struct is_same : true_type {};