Closed Wolftein closed 8 years ago
auto p_Fun1 = []() { return 5.0; }; Nano::Signal<double()> SIGNAL; SIGNAL.connect(p_Fun1); SIGNAL.connect(p_Fun1); SIGNAL.emit_accumulate([&](double x) { printf("%d\n", x); // This will always print 0 });
Oops, issue on my side, it actually works perfectly. Sorry.