|
constexprnoexcept |
Inverts a bit order of an argument but keeps its byte order unchanged.
T | A type of the argument. |
val | The argument whose bit order is to be inverted. |
The function is defined only for basic sizes, i.e. 1, 2, 4 or 8 bytes, where a byte holds 8 bits. The function is constexpr if and only if the type T
is a fundamental integral type. Unlike mirror_bits, mirror_bits_kbo keeps the current byte order of val
.