MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / for_each

Function for_each

src/rpp/rpp/utils/utils.hpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81 template<typename Cont, std::invocable<iterable_value_t<Cont>> Fn>
82 void for_each(Cont&& container, Fn&& fn)
83 {
84 std::for_each(std::begin(container), std::end(container), std::forward<Fn>(fn));
85 }
86
87 template<typename Cont, std::predicate<iterable_value_t<Cont>> Fn>
88 bool all_of(const Cont& container, const Fn& fn)

Callers 3

on_errorMethod · 0.85
on_completedMethod · 0.85
test_group_by.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected