| 4 | #include <iostream> |
| 5 | |
| 6 | int main() // NOLINT(bugprone-exception-escape) |
| 7 | { |
| 8 | rpp::source::from_callable(&::getchar) |
| 9 | | rpp::operators::repeat() |
| 10 | | rpp::operators::take_while([](char v) { return v != '0'; }) |
| 11 | | rpp::operators::filter(std::not_fn(&::isdigit)) |
| 12 | | rpp::operators::map(&::toupper) |
| 13 | | rpp::operators::subscribe([](char v) { std::cout << v; }); |
| 14 | |
| 15 | return 0; |
| 16 | } |
nothing calls this directly
no test coverage detected