diff --git a/cruft/util/std.hpp b/cruft/util/std.hpp index 81cc612a..e03e42a2 100644 --- a/cruft/util/std.hpp +++ b/cruft/util/std.hpp @@ -9,6 +9,7 @@ #pragma once #include +#include /// A collection of convenience typedefs that define short aliases (three /// letters) to std sized types in the global namespace. @@ -50,3 +51,8 @@ using f64 = double; //----------------------------------------------------------------------------- static_assert (sizeof (f32) == 4); static_assert (sizeof (f64) == 8); + + +/////////////////////////////////////////////////////////////////////////////// +using isize = std::ptrdiff_t; +using usize = std::size_t;