Try to make PtrMap work for 32-bit compilers

This commit is contained in:
gingerBill
2025-10-27 11:06:07 +00:00
parent 43529dda38
commit 13f2090608
2 changed files with 27 additions and 8 deletions

View File

@@ -59,6 +59,11 @@ template <typename T> struct TypeIsPtrSizedInteger { enum {value = false}; };
template <> struct TypeIsPtrSizedInteger<isize> { enum {value = true}; };
template <> struct TypeIsPtrSizedInteger<usize> { enum {value = true}; };
template <typename T> struct TypeIs64BitInteger { enum {value = false}; };
template <> struct TypeIs64BitInteger<u64> { enum {value = true}; };
template <> struct TypeIs64BitInteger<i64> { enum {value = true}; };
#include "unicode.cpp"
#include "array.cpp"