/*** Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: AuroraTypedefs.hpp Date: 2021-6-10 Author: Reece ***/ #pragma once #include #include #include #include #include #include #include #include namespace Aurora::Memory { template struct SpeedyArrayAllocator; } template using AuList = typename std::conditional::value, std::vector, std::vector>>::type; template using AuHashMap = std::unordered_map; template using AuHashMapEx = std::unordered_map; template using AuBST = std::map; template using AuBSTEx = std::map; template using AuSPtr = std::shared_ptr; template using AuWPtr = std::weak_ptr; #if defined(AURORA_COMPILER_MSVC) using AuAtomicInt = long; #else using AuAtomicInt = int; #endif //#include "tinyutf8.h" using AuString = std::string;// tiny_utf8::utf8_string; using AuUInt64 = Aurora::Types::uint64_t; using AuUInt32 = Aurora::Types::uint32_t; using AuUInt16 = Aurora::Types::uint16_t; using AuUInt8 = Aurora::Types::uint8_t; using AuInt64 = Aurora::Types::int64_t; using AuInt32 = Aurora::Types::int32_t; using AuInt16 = Aurora::Types::int16_t; using AuInt8 = Aurora::Types::int8_t; using AuMach = Aurora::Types::size_t; using AuSMach = Aurora::Types::ssize_t; using AuSInt = AuSMach; using AuUInt = AuMach; using AuThreadId_t = AuUInt64; static const AuThreadId_t kThreadIdSpecialMask = AuThreadId_t(1) << AuThreadId_t(63);