4 ms·
If you're writing the logic from scratch and want a function object, make a function whose arguments are the variables you need to close over and then use boost
by SamReidHughes 15y ago
If you're writing the logic from scratch and want a function object, make a function whose arguments are the variables you need to close over and then use boost::bind. That's the most convenient way.