ReactivePlusPlus
ReactiveX implementation for C++20
Loading...
Searching...
No Matches
rpp::details::observers::constraint::disposables_strategy Concept Reference

Concept definition

template<typename T>
concept rpp::details::observers::constraint::disposables_strategy = requires(T& v, const T& const_v, const disposable_wrapper& d) {
v.add(d);
{
const_v.is_disposed()
} -> std::same_as<bool>;
const_v.dispose();
}
disposable_wrapper_impl< interface_disposable > disposable_wrapper
Wrapper to keep "simple" disposable. Specialization of rpp::disposable_wrapper_impl.
Definition fwd.hpp:34