mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-06-11 05:49:14 +00:00
std::function is allowed to heap allocate if the size of the captures associated with each lambda exceed a certain threshold. This prevents potentially unnecessary reallocations from occurring.