Re:Under the hood of C++ lambdas and std::function
by thelema314 on Monday March 28, 2016 @03:39AM
(#11373149)
I kind of wish this article had gotten into some details of how various compilers implement std::function; while it was nice to see some details of clang++'s 32-byte size of all std::function to remove the need for dynamic memory for many function objects, I'm still wishing I had more details on efficiency/cost of using std::function vs. plain lambdas or function pointers or other solutions.
[ Parent
| on HN ]
There are no comments on this comment yet.