Skip to content

function rebind(const expression_function<Fn, OldArgs...> &, NewArgs &&...) expressions

template <typename Fn, typename... OldArgs, typename... NewArgs>
KFR_FUNCTION expression_function<Fn, NewArgs...> rebind(const expression_function<Fn, OldArgs...>& e,
                                                        NewArgs&&... args)

Construct a new expression using the same function as inand new arguments

Parameters
e an expression
args new arguments for the function

Defined at base/expression.hpp:866