I decided to give C++11 lambdas a shot. Lasted about 30 seconds, until I found I can't assign capturing lambdas to fn pointers. Really?
-
-
@cmuratori I think it's because lambdas can be closures, which are more powerful than fn ptrs, hence the common interface std::function. -
@dan_schmidt I think maybe you meant to reply to@bhsharp? - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.