MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / to_array

Function to_array

include/behaviortree_cpp/contrib/magic_enum.hpp:408–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406#else
407template <typename T, std::size_t N, std::size_t... I>
408constexpr std::array<std::remove_cv_t<T>, N> to_array(T (&a)[N], std::index_sequence<I...>) noexcept {
409 return {{a[I]...}};
410}
411#endif
412
413template <typename T>

Callers 1

valuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected