Re:Nana: A modern C++ GUI library
by stargrazer on Saturday April 20, 2019 @07:15PM
(#19709521)
So... other than using std::function and other than something in Qt, what would be a more efficient C++[11,17] native way of doing a callback?
[ Parent
| on HN ]
https://stackoverflow.com/questions/4298408/5-years-later-is... ; you loose some flexibility though.
Going from "more efficient" to "most". That would be the assembly `asm("JMP *%eax")` instruction or something like it.