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

◆ operator>>

template<typename F, typename V>
template<typename C>
decltype(auto) operator>> ( scannable< F, V > && s,
C && c )
friend

Pipelines the current value into a unary callable and accumulates the operation into the function state, chaining computations from left to right.

Parameters
sThe scannable instance.
cThe callable to apply.
Returns
A new kumi::scannable with updated value and bound function state.