13#include <rpp/observables/constraints.hpp>
14#include <rpp/observables/details/member_overload.hpp>
23template<constra
int::decayed_type Type, constra
int::observable_of_type<Type> TObs>
24auto ref_count_impl(TObs&& observable);
26template<constra
int::decayed_type Type,
typename SpecificObservable>
42 template<
typename ...Args>
43 auto ref_count() const& requires is_header_included<ref_count_tag, Args...>
45 return ref_count_impl<Type>(*
static_cast<const SpecificObservable*
>(
this));
48 template<
typename ...Args>
49 auto ref_count() &&
requires is_header_included<ref_count_tag, Args...>
51 return ref_count_impl<Type>(std::move(*
static_cast<SpecificObservable*
>(
this)));
auto ref_count() const &
Forces rpp::connectable_observable to behave like common observable.
Definition: ref_count.hpp:43
Definition: member_overload.hpp:19