diff --git a/deps/ox/src/ox/std/types.hpp b/deps/ox/src/ox/std/types.hpp index e9d8d897..d182429e 100644 --- a/deps/ox/src/ox/std/types.hpp +++ b/deps/ox/src/ox/std/types.hpp @@ -128,6 +128,24 @@ using Signed = Int; template using Unsigned = Uint; +// ResizedInt retains the sign while granting a new size +template +struct ResizedInt { +}; + +template +struct ResizedInt { + using type = typename SignedType::type; +}; + +template +struct ResizedInt { + using type = typename UnsignedType::type; +}; + +template +using ResizedInt_t = typename ResizedInt::type; + }