-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can anyone say how to track changes of a variable? #402
Comments
this is very close to a untested
|
So I can't just assign an array and get notifications. I always need to create my own function. However, creating more functions pretty much defeats the prettyness of RxCpp. Too bad. |
A PR to add
is this good enough? |
Looks almost great. But the reporting should also happen when I update/remove/add one item to vector, too. |
to do that you need to use an immutable C++ collection. a couple were discussed in C++Now talks this year. https://www.youtube.com/watch?v=ZsryQp0UAC8 |
So any news about this? Anything that has been tested to actually track changes to a variable? |
I think it's best to sum up what I want to do in C++ by showing you what actually works in Swift with RxSwift.
Whenever I do change collection items like that, the subscription runs and prints all items.
I want to do the same in C++. Is it possible?
The text was updated successfully, but these errors were encountered: