RxCpp
The Reactive Extensions for Native (RxCpp) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators in both C and C++.
Classes | Namespaces | Macros | Functions
rx-skip.hpp File Reference

Make new observable with skipped first count items from this observable. More...

#include "../rx-includes.hpp"
Include dependency graph for rx-skip.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rxcpp::member_overload< skip_tag >
 

Namespaces

 rxcpp
 
 rxcpp::operators
 

Macros

#define RXCPP_OPERATORS_RX_SKIP_HPP
 

Functions

template<class... AN>
auto rxcpp::operators::skip (AN &&...an) -> operator_factory< skip_tag, AN... >
 Make new observable with skipped first count items from this observable. More...
 

Detailed Description

Make new observable with skipped first count items from this observable.

Template Parameters
Countthe type of the items counter
Parameters
tthe number of items to skip
Returns
An observable that is identical to the source observable except that it does not emit the first t items that the source observable emits.
Sample Code
auto values = rxcpp::observable<>::range(1, 7).skip(3);
values.
[](int v){printf("OnNext: %d\n", v);},
[](){printf("OnCompleted\n");});
OnNext: 4
OnNext: 5
OnNext: 6
OnNext: 7
OnCompleted

Macro Definition Documentation

#define RXCPP_OPERATORS_RX_SKIP_HPP