You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ureact::var_signal<int> a = make_var(&c, 1);
ureact::var_signal<int> b = make_var(&c, 1);
if( a < b ){
}elseif( a > b ){
}elseif( a == b ){
}
a = a + b;
a += b;
The main difference with the current usage is the absence of the .value() method calls. a = b + c is much clear than a.set_value( b.value() + c.value() )
But now operators are overloaded to make easy signals creation. So need to investigate what can be done with it.
The text was updated successfully, but these errors were encountered:
I would like to make the following code possible:
The main difference with the current usage is the absence of the .value() method calls.
a = b + c
is much clear thana.set_value( b.value() + c.value() )
But now operators are overloaded to make easy signals creation. So need to investigate what can be done with it.
The text was updated successfully, but these errors were encountered: