specifies a number of bits to be used to align the bit offset as a multiple of
More...
#include <serdes_format_modifiers.h>
|
| | align (const ST &bits) noexcept |
| | Construct a new align object, binding to a reference of the number of bits to align by. More...
|
| |
| | align (ST &&bits) noexcept |
| | Construct a new align object, binding to a rvalue of the number of bits to align by. More...
|
| |
|
|
const ST & | value |
| | bit alignment reference value
|
| |
template<typename ST>
struct serdes::align< ST >
specifies a number of bits to be used to align the bit offset as a multiple of
- Template Parameters
-
| ST | type of the align value |
- Examples:
- 03_serial_usage.cpp, and 05_nested_object_oriented_serial.cpp.
Construct a new align object, binding to a reference of the number of bits to align by.
- Parameters
-
Construct a new align object, binding to a rvalue of the number of bits to align by.
- Parameters
-
The documentation for this struct was generated from the following file: