It's a common practice to return an observable<T> to for a method to represent values of T in async fashion.
class Person {
observable<std::string> Talk();
}
While rpp does provide an observable class, but it has too many class template arguments which I can find very few explainations in docs. Before reading your whole project code, would you please enlighten me about a simple way to define actual class type other than auto.
It's a common practice to return an
observable<T>to for a method to represent values ofTin async fashion.While
rppdoes provide anobservableclass, but it has too many class template arguments which I can find very few explainations in docs. Before reading your whole project code, would you please enlighten me about a simple way to define actual class type other thanauto.