From 1cf653dfb80e6f4f2de603778e7b4ae79af82a7f Mon Sep 17 00:00:00 2001 From: Erki Date: Sat, 1 May 2021 02:43:27 +0300 Subject: [PATCH] Add missing unranked integers. --- Utility/Inc/utility_fixedpoint.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Utility/Inc/utility_fixedpoint.hpp b/Utility/Inc/utility_fixedpoint.hpp index 8f2753c..bb6db34 100644 --- a/Utility/Inc/utility_fixedpoint.hpp +++ b/Utility/Inc/utility_fixedpoint.hpp @@ -18,6 +18,12 @@ struct NextRankingInteger { }; +template<> +struct NextRankingInteger +{ + using T = std::int16_t; +}; + template<> struct NextRankingInteger { @@ -36,6 +42,12 @@ struct NextRankingInteger using T = std::int64_t; }; +template<> +struct NextRankingInteger +{ + using T = std::uint16_t; +}; + template<> struct NextRankingInteger {