#pragma once #include struct integer_lowest_byte_fn { template constexpr std::uint8_t operator()(Integer integer) const { static_assert(std::is_integral_v, "Input type is not integer type."); return static_cast(integer & 0xff); } }; static constexpr auto integer_lowest_byte = integer_lowest_byte_fn{};