stream.for_each more like std::for_each