News for hackers. Stuff that matters.
Re:Is C++ fast? by slavik81 on Friday January 18, 2019 @11:24PM (#18945319)
You can get that sort of behaviour from any class by implementing the conversion operator. I assume that lambda implements `operator(void(*)())` so it is implicitly convertible to a function pointer.

There are no comments on this comment yet.