| 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) |
no outgoing calls
no test coverage detected