MCPcopy Create free account
hub / github.com/alibaba/yalantinglibs / array_to_seq

Function array_to_seq

include/ylt/reflection/template_string.hpp:131–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130template <std::size_t N, const std::array<int, N> &arr, size_t... Is>
131constexpr auto array_to_seq(const std::index_sequence<Is...> &) {
132 return std::integer_sequence<std::int64_t, arr[Is]...>();
133}
134
135// convert array to map
136template <typename E, size_t N, size_t... Is>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected