Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
407
template <typename T, std::size_t N, std::size_t... I>
408
constexpr 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
413
template <typename T>
Callers
1
values
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected