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++.
|
If the source Observable terminates without emitting any items, emits items from a backup Observable. More...
#include "../rx-includes.hpp"
Go to the source code of this file.
Classes | |
struct | rxcpp::member_overload< switch_if_empty_tag > |
struct | rxcpp::member_overload< default_if_empty_tag > |
Namespaces | |
rxcpp | |
rxcpp::operators | |
Macros | |
#define | RXCPP_OPERATORS_RX_SWITCH_IF_EMPTY_HPP |
Functions | |
template<class... AN> | |
auto | rxcpp::operators::switch_if_empty (AN &&...an) -> operator_factory< switch_if_empty_tag, AN... > |
If the source Observable terminates without emitting any items, emits items from a backup Observable. More... | |
template<class... AN> | |
auto | rxcpp::operators::default_if_empty (AN &&...an) -> operator_factory< default_if_empty_tag, AN... > |
If the source Observable terminates without emitting any items, emits a default item and completes. More... | |
If the source Observable terminates without emitting any items, emits items from a backup Observable.
BackupSource | the type of the backup observable. |
t | a backup observable that is used if the source observable is empty. |
#define RXCPP_OPERATORS_RX_SWITCH_IF_EMPTY_HPP |