logoalt Hacker News

petters06/16/20251 replyview on HN

> In fact, I don’t think anyone understands std::function<> including the 3 people who implemented it.

"I don't understand it, so surely it must be very difficult and probably nobody understands it"


Replies

fredrikholm06/16/2025

Here's the GCC implementation of `std::function`:

https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-...

I'm with OP here.