Horizon
|
Lazily applies an unary function to each element in the source range that returns another range (possibly empty), flattening the result. More...
#include <for_each.hpp>
Public Member Functions | |
template (typename Rng, typename Fun)(AND transformable_range< Rng | |
Fun AND joinable_range< transform_view< all_t< Rng >, Fun > > constexpr auto | operator() (Rng &&rng, Fun fun) const |
Lazily applies an unary function to each element in the source range that returns another range (possibly empty), flattening the result.