MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / observer_impl

Method observer_impl

src/rpp/rpp/observers/observer.hpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 template<typename... Args>
32 requires constraint::is_constructible_from<Strategy, Args&&...>
33 explicit observer_impl(DisposablesStrategy strategy, Args&&... args)
34 : m_strategy{std::forward<Args>(args)...}
35 , m_disposable{std::move(strategy)}
36 {
37 }
38
39 public:
40 static constexpr auto preferred_disposables_mode = rpp::details::observers::disposables_mode::None;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected