includes/std: Added Bytes type

This commit is contained in:
Nik
2023-02-22 18:31:52 +01:00
committed by GitHub
parent e635c3a5bf
commit 2d4b4add82

View File

@@ -97,4 +97,16 @@ namespace std::mem {
padding[Alignment - ((($ - 1) % Alignment) + 1)];
} [[hidden, sealed]];
struct Bytes<auto Size> {
u8 bytes[Size];
} [[sealed, format("std::mem::impl::format_bytes")]];
namespace impl {
fn format_bytes(auto bytes) {
return "";
};
}
}