mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-04-17 15:02:53 +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.