Archive of the libbitcoin Slack #general channel.
for consexptr(...) :)). Endian conversions no longer need an iterator.if constexpr(...)`constexpr auto is_native_big_endian = to_bool(std::bit_cast<std::array<uint8_t, sizeof(size_t)>>(one).back()); constexpr auto is_native_little_endian = to_bool(std::bit_cast<std::array<uint8_t, sizeof(size_t)>>(one).front());