| 47 | |
| 48 | template<int n, class Func> |
| 49 | constexpr auto generate_array(Func&& gen) |
| 50 | { |
| 51 | auto intseq = std::make_integer_sequence<int, n>(); |
| 52 | return detail::generate_array_impl(std::move(intseq), |
| 53 | std::forward<Func>(gen)); |
| 54 | } |
| 55 | |
| 56 | |
| 57 | /* |
nothing calls this directly
no test coverage detected