Add missing unranked integers.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Erki 2021-05-01 02:43:27 +03:00
parent 983eb74bd7
commit 1cf653dfb8

View File

@ -18,6 +18,12 @@ struct NextRankingInteger
{ {
}; };
template<>
struct NextRankingInteger<std::int8_t>
{
using T = std::int16_t;
};
template<> template<>
struct NextRankingInteger<std::int16_t> struct NextRankingInteger<std::int16_t>
{ {
@ -36,6 +42,12 @@ struct NextRankingInteger<std::int64_t>
using T = std::int64_t; using T = std::int64_t;
}; };
template<>
struct NextRankingInteger<std::uint8_t>
{
using T = std::uint16_t;
};
template<> template<>
struct NextRankingInteger<std::uint16_t> struct NextRankingInteger<std::uint16_t>
{ {