Skip to content

crypto: avoid std::function

Using a template type lets the compiler choose an appropriate type that likely is more efficient than std::function since the lambda expressions at the call sites do not capture any values from surrounding scopes.

Merge request reports

Loading