CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
CheckSize< Real, Expected > Struct Template Reference

Helper class for checking the size of a structure. More...

#include <assembly-helpers.h>

Static Public Attributes

static constexpr bool Value = Real == Expected

Detailed Description

template<auto Real, auto Expected>
struct CheckSize< Real, Expected >

Helper class for checking the size of a structure.

Used in static asserts so that the expected size shows up in compiler error messages.

Definition at line 22 of file assembly-helpers.h.

Member Data Documentation

◆ Value

template<auto Real, auto Expected>
bool CheckSize< Real, Expected >::Value = Real == Expected
staticconstexpr

Definition at line 24 of file assembly-helpers.h.


The documentation for this struct was generated from the following file: