mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-10-29 13:56:45 +08: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.