Re:Simplest C++ Callback, from SumatraPDF
by jitans on Sunday June 15, 2025 @02:58PM
(#44284270)
Why don't use fu2? https://naios.github.io/function2/
[ Parent
| on HN ]
One, I didn't know about it.
Two, my main objective is extreme simplicity and understandability of the code.
I explicitly gave up features of std::function for smaller code that I actually understand.
fu2 seems to be "std::function but more features".