Comment Comment by kjksf How is Func0 / Func1<T> better than std::function?Smaller size at runtime (uses less memory).Smaller generated code.Faster at runtime.Faster compilation times.Smaller implementation.Implementation that you can understand.How is it worse?std::function + lambda with variable capture has better ergonomics i.e. less typing. parent kjksf 1 year ago
Smaller size at runtime (uses less memory).
Smaller generated code.
Faster at runtime.
Faster compilation times.
Smaller implementation.
Implementation that you can understand.
How is it worse?
std::function + lambda with variable capture has better ergonomics i.e. less typing.