|
runtime 1.0.0
Checked CEL programs, owned values, and reusable execution stacks
|
Describes a byte extent and its requested alignment, both in bytes. A checked storage operation accepts a zero size but requires a nonzero power-of-two alignment. The fields describe storage, not initialized objects or their ownership. Example: cel::layout leaf{sizeof(double), alignof(double)};. More...
#include <cel/runtime/layout.hpp>
Public Attributes | |
| std::size_t | size |
| Counts bytes in the extent; zero describes an empty extent. | |
| std::size_t | alignment |
| Specifies the requested nonzero power-of-two alignment in bytes. | |
Describes a byte extent and its requested alignment, both in bytes. A checked storage operation accepts a zero size but requires a nonzero power-of-two alignment. The fields describe storage, not initialized objects or their ownership. Example: cel::layout leaf{sizeof(double), alignof(double)};.