6 ms·
A std::vector per defer? Copying rather than moving std::funcs? Inserting into front of vector of funcs? Gratuitous allocs galore! Just give me a wrapper with
by randomfool 11y ago
A std::vector per defer? Copying rather than moving std::funcs? Inserting into front of vector of funcs? Gratuitous allocs galore!
Just give me a wrapper with a destructor plz. (uniq_ptr can even get the job done in a pinch)
- deleted 11y ago[deleted]
- randomfool 11y agoSee rarely used second template arg of unique_ptr- the cleanup fn can be specified.