Function to_array

Synopsis

#include <include/flecs/addons/cpp/utils/array.hpp>

template <typename T, size_t Size>
array< T, Size > to_array(const T(&elems)[Size])

Description

No description yet.

Source

Lines 84-87 in include/flecs/addons/cpp/utils/array.hpp.

template<typename T, size_t Size>
array<T, Size> to_array(const T (&elems)[Size]) {
    return array<T, Size>(elems);
}