| 1571 | |
| 1572 | template <typename T, typename F, std::size_t N, std::size_t... Is> |
| 1573 | constexpr std::array<std::invoke_result_t<F, T>, N> |
| 1574 | array_fmap_impl(const std::array<T, N> &arr, F f, std::index_sequence<Is...>) { |
| 1575 | return {f(arr[Is])...}; |
| 1576 | } |
| 1577 | |
| 1578 | template <typename T, typename F, std::size_t N> |
| 1579 | constexpr std::array<std::invoke_result_t<F, T>, N> |