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 window_impl(TObs&& obs,
size_t window_size);
26template<constra
int::decayed_type Type,
typename SpecificObservable>
69 template<
typename ...Args>
70 auto window(
size_t window_size)
const &
requires is_header_included<window_tag, Args...>
72 return window_impl<Type>(*
static_cast<const SpecificObservable*
>(
this), window_size);
75 template<
typename ...Args>
76 auto window(
size_t window_size) &&
requires is_header_included<window_tag, Args...>
78 return window_impl<Type>(std::move(*
static_cast<SpecificObservable*
>(
this)), window_size);
Definition: member_overload.hpp:19