29 template <concepts::Rdd R>
32 std::vector<std::future<unsigned long long>>
futures{};
35 return static_cast<unsigned long long>(split.size());
39 std::ranges::subrange(
futures) |
40 std::views::transform([](std::future<unsigned long long>&
fut) {
return fut.get(); });
49template <concepts::Rdd R>
auto end() const
Definition base_rdd.h:151
auto begin() const
Definition base_rdd.h:142
unsigned long long operator()(const R &rdd) const
Definition count.h:30
auto operator|(const R &r, const Collect &collect)
Definition collect.h:48