42 constexpr auto COSTAS =
43 std::array{std::array{std::array{4, 2, 5, 6, 1, 3, 0},
44 std::array{4, 2, 5, 6, 1, 3, 0},
45 std::array{4, 2, 5, 6, 1, 3, 0}},
46 std::array{std::array{0, 6, 2, 3, 5, 4, 1},
47 std::array{1, 5, 0, 2, 3, 6, 4},
48 std::array{2, 5, 0, 6, 4, 1, 3}}};
50 return [COSTAS](
Type type) ->
Array const & {
51 return COSTAS[
static_cast<std::underlying_type_t<Type>
>(type)];
120 std::variant<DecodeStarted, SyncStart, SyncState, Decoded, DecodeFinished>;
std::variant< DecodeStarted, SyncStart, SyncState, Decoded, DecodeFinished > Variant
Definition JS8.h:119