#include #include namespace c10 { // This helper function creates a constexpr std::array // From a compile time list of values, without requiring you to explicitly // write out the length. // // See also https://stackoverflow.com/a/26351760/23845 template inline constexpr auto array_of(T&&... t) -> std::array { return {{std::forward(t)...}}; } } // namespace c10