cost 276 ms
lightweight boost::bind

I'm so sick of the pass-callback-data-as-void*-struct anti-pattern. Boost bind solves it nicely, but is an unacceptable dependency. What's a lightweig ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM