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

◆ operator>>

template<typename T>
template<typename C>
decltype(auto) operator>> ( foldable< T > && f,
C && c )
friend

Pipelines the value contained in the foldable into a unary callable, chaining computation from left to right.

Parameters
fThe foldable instance.
cThe unary callable
Returns
A new kumi::foldable containing the result of the invocation.