KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches

◆ bind_front()

template<typename C, typename... Ts>
requires (std::is_move_constructible_v<std::decay_t<C>> && (std::is_move_constructible_v<std::decay_t<Ts>> && ...))
auto kumi::bind_front ( C && c,
Ts &&... ts )
inlineconstexprnoexcept

Binds a certain amount of values into a callable reducing it's arity.

Parameters
cCallable object to be bound.
tselements to be used as prefilled arguments to c
Returns
A new callable matching C with ts arguments prefilled by the front.
Note
Replaces std::bind_front to avoid depending on Helper Types and function.