stl: std::byte

This commit is contained in:
skypjack
2026-04-20 15:43:22 +02:00
parent 200f35130f
commit f7bf2d1245
2 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ struct basic_any_storage {
union {
const void *instance{};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays)
alignas(Align) std::byte buffer[Len];
alignas(Align) stl::byte buffer[Len];
};
};

View File

@@ -6,6 +6,7 @@
/*! @cond ENTT_INTERNAL */
namespace entt::stl {
using std::byte;
using std::ptrdiff_t;
using std::size_t;