#include <rpp/rpp.hpp>
#include <iostream>
int main()
{
seed.push_back(new_value);
return std::move(seed);
})
std::cout << "vector: ";
for (int val : v)
std::cout << val << " ";
std::cout << std::endl;
});
return 0;
}
auto just(const TScheduler &scheduler, T &&item, Ts &&... items)
Creates rpp::observable that emits a particular items and completes.
Definition from.hpp:201
auto subscribe(observer< Type, ObserverStrategy > &&observer)
Subscribes passed observer to emissions from this observable.
Definition subscribe.hpp:226