diff options
Diffstat (limited to 'Rx/v2/examples/doxygen/take.cpp')
-rw-r--r-- | Rx/v2/examples/doxygen/take.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Rx/v2/examples/doxygen/take.cpp b/Rx/v2/examples/doxygen/take.cpp deleted file mode 100644 index be3be24..0000000 --- a/Rx/v2/examples/doxygen/take.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "rxcpp/rx.hpp" - -#include "rxcpp/rx-test.hpp" -#include "catch.hpp" - - -SCENARIO("take sample"){ - printf("//! [take sample]\n"); - auto values = rxcpp::observable<>::range(1, 7).take(3); - values. - subscribe( - [](int v){printf("OnNext: %d\n", v);}, - [](){printf("OnCompleted\n");}); - printf("//! [take sample]\n"); -} |