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

Method observable

src/rpp/rpp/observables/observable.hpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 template<typename... Args>
46 requires (!constraint::variadic_decayed_same_as<observable<Type, Strategy>, Args...> && constraint::is_constructible_from<Strategy, Args && ...>)
47 observable(Args&&... args)
48 : m_strategy{std::forward<Args>(args)...}
49 {
50 }
51
52 /**
53 * @brief Subscribes passed observer to emissions from this observable.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected