diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-05 00:55:16 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-05 20:08:57 +0200 |
commit | 112de58fe0601ef95544ab474f35ade14f947391 (patch) | |
tree | f7319afeff0c2a981590e2cfafe9cc57932f4e01 /Kernel/Time | |
parent | 100b3835f023205db34129cca3cf854ad908478c (diff) | |
download | serenity-112de58fe0601ef95544ab474f35ade14f947391.zip |
AK: Add AssertSize utility template to provide rich type size assertions
This type is useful, as the sizes will be visible in the compiler error
messages, as they will be part of the template parameters. This is not
possible with a normal static_assert of the sizeof a type.
Diffstat (limited to 'Kernel/Time')
0 files changed, 0 insertions, 0 deletions