3 ms·
With function objects the GNU std::function does do dynamic allocation. Even for objects as small as an empty struct.
by SamReidHughes 14y ago
With function objects the GNU std::function does do dynamic allocation. Even for objects as small as an empty struct.