4 ms·
Really can’t see how it could be made simpler. Function pointer can’t be a closure because it means something different. You can pass pointers different functio
by ozgrakkurt 1y ago
Really can’t see how it could be made simpler. Function pointer can’t be a closure because it means something different. You can pass pointers different functions without having multiple versions of the function you are calling. Closures have a unique type and they require you to use generics.