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