mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
includes/std: Added std::mem::AlignTo type
This commit is contained in:
@@ -92,5 +92,9 @@ namespace std::mem {
|
||||
From from;
|
||||
To to;
|
||||
};
|
||||
|
||||
struct AlignTo<auto Alignment> {
|
||||
padding[Alignment - ((($ - 1) % Alignment) + 1)];
|
||||
} [[hidden, sealed]];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user