Re:How fast can you allocate a large block of memory in C++?
by SamReidHughes on Thursday January 16, 2020 @09:45AM
(#22064942)
Oh, right, it would work. Anyway, it looks like compilers have a known bug and they’re supposed to treat the types as incompatible.
std::function would still work in this case because pointers to C functions have a normal operator().