26 #if !defined(RXCPP_OPERATORS_RX_START_WITH_HPP) 27 #define RXCPP_OPERATORS_RX_START_WITH_HPP 29 #include "../rx-includes.hpp" 39 struct start_with_invalid_arguments {};
42 struct start_with_invalid :
public rxo::operator_base<start_with_invalid_arguments<AN...>> {
43 using type = observable<start_with_invalid_arguments<
AN...>, start_with_invalid<
AN...>>;
46 using start_with_invalid_t =
typename start_with_invalid<
AN...>::type;
55 return operator_factory<start_with_tag,
AN...>(std::make_tuple(std::forward<AN>(an)...));
63 template<
class Observable,
class Value0,
class... ValueN,
68 static auto member(Observable&& o, Value0&& v0, ValueN&&... vn)
75 static operators::detail::start_with_invalid_t<
AN...>
member(
const AN&...) {
78 static_assert(
sizeof...(
AN) == 10000,
"start_with takes (Value0, optional ValueN...)");
Definition: rx-all.hpp:26
static operators::detail::start_with_invalid_t< AN... > member(const AN &...)
Definition: rx-start_with.hpp:75
Definition: rx-operators.hpp:69
auto AN
Definition: rx-finally.hpp:105
static auto member(AN &&...) -> typename Tag::template include_header< std::false_type >
Definition: rx-operators.hpp:50
typename std::decay< T >::type decay_t
Definition: rx-util.hpp:36
Definition: rx-operators.hpp:47
auto start_with(AN &&...an) -> operator_factory< start_with_tag, AN... >
Start with the supplied values, then concatenate this observable.
Definition: rx-start_with.hpp:53
linq_driver< iter_cursor< typename util::container_traits< TContainer >::iterator > > from(TContainer &c)
Definition: linq.hpp:556
typename std::enable_if< all_true_type< BN... >::value >::type enable_if_all_true_type_t
Definition: rx-util.hpp:114
auto first() -> operator_factory< first_tag >
For each item from this observable reduce it by sending only the first item.
Definition: rx-reduce.hpp:378
static auto member(Observable &&o, Value0 &&v0, ValueN &&...vn) -> decltype(member_overload< concat_tag >::member(std::declval< From >(), std::forward< Observable >(o)))
Definition: rx-start_with.hpp:68
Definition: rx-predef.hpp:177
For each item from this observable subscribe to one at a time, in the order received. For each item from all of the given observables deliver from the new observable that is returned.
Definition: rx-operators.hpp:388