Comment

Comment by mhogomchungu

Problems with std::function:-

1. It can not hold move only callable objects.

2. It heap allocate stored callable object if the object is large enough.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton