News for hackers. Stuff that matters.
Re:Can you trust a compiler to optimize your code? by celrod on Tuesday August 01, 2023 @08:44AM (#36955255)
You could use C++ lambdas instead. They're basically structs with a call operator.

See also the comparisons from the functional header https://en.cppreference.com/w/cpp/header/functional

There are no comments on this comment yet.