alignment.hh File Reference
This file implements a template class to determine alignment requirements of types at compile time.
More...
Go to the source code of this file.
Detailed Description
This file implements a template class to determine alignment requirements of types at compile time.
- Author:
- Markus Blatt
Define Documentation
#define ALIGNMENT_MIN |
( |
a, |
|
|
b |
|
) |
|
Value:(static_cast<std::size_t>(a) < \
static_cast<std::size_t>(b) ? \
static_cast<std::size_t>(a) : \
static_cast<std::size_t>(b))
#define ALIGNMENT_MODULO |
( |
a, |
|
|
b |
|
) |
|
Value:(a % b == 0 ? \
static_cast<std::size_t>(b) : \
static_cast<std::size_t>(a % b))
Variable Documentation