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