Comments (7)
Sorry for this inconvenient. What compiler do you use, and what is compiler output?
P.S. I just tried latest mingw-w64 gcc 7.1, compilation is now broken. It seems this is due to apply
disambiguation (gcc sees it as if it were in global namespace). VS 2017 and clang 5 compiles fine.
from reactive.
Please try now, if my assumption was correct, it should fix your problems.
from reactive.
I actually rolled out my own implementation for reporting back then in September, so this issue can be closed :)
from reactive.
Is it in public domain?
from reactive.
Yeah. It's part of 'mjin-report', part of the game tech I'm working on. Here's a sample test of its usage: https://bitbucket.org/ogstudio/mjin-report/src/tip/include/mjin-report/Test.h?at=default&fileviewer=file-view-default
Though, I ended up with reporting only without passing values, because passing values breaks when we deal with arrays: many questions arise, many corner cases, so I just limited the application to reporting only.
from reactive.
Reporting only without passing values? You mean something like Event<> https://github.com/tower120/reactive#event?
struct MyObject{
int value = 0;
Event<> onChange;
void increase(){
value++;
onChange();
}
} obj;
obj.onChange += [&](){
std::cout << obj.value;
}
from reactive.
Yep.
from reactive.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactive.