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
)
inline
constexpr
noexcept
Binds a certain amount of values into a callable reducing it's arity.
Parameters
c
Callable object to be bound.
ts
elements 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
.
kumi