mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
std::function is allowed to allocate on the heap, so this potentially prevents unnecessary allocations. We can also use insert_or_assign() to prevent unnecessary default initialization of std::function that immediately get overridden.
1.6 KiB
1.6 KiB