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

Function main

src/examples/rpp/doxygen/skip.cpp:8–17  ·  view source on GitHub ↗

* @example skip.cpp **/

Source from the content-addressed store, hash-verified

6 * @example skip.cpp
7 **/
8int main()
9{
10 //! [skip]
11 rpp::source::just(0, 1, 2, 3, 4, 5)
12 | rpp::operators::skip(2)
13 | rpp::operators::subscribe([](int v) { std::cout << v << " "; });
14 // Output: 2 3 4 5
15 //! [skip]
16 return 0;
17}

Callers

nothing calls this directly

Calls 3

justFunction · 0.85
skipFunction · 0.85
subscribeFunction · 0.85

Tested by

no test coverage detected