Skip to content

Implement applyPartial()

Carsten Gräser requested to merge feature/applypartial into master

This is like std::apply() but gets an additional std::integer_sequence argument to determine a subset of the tuple values to be used as arguments. This coincides with the former implementation detail Impl::applyHelper().

I recently added this to dune-functions because it turned out that this helper is useful itself, e.g., if you want to pass all but the last argument of a variadic list to a function.

Edited by Carsten Gräser

Merge request reports