Iros
 
Loading...
Searching...
No Matches
di::function::pipeline Namespace Reference

Classes

struct  EnablePipeline
 

Concepts

concept  Pipeable
 

Functions

template<typename T, Pipeable F>
requires (concepts::Invocable<F, T>)
constexpr auto operator| (T &&value, F &&function) -> decltype(auto)
 
template<Pipeable F, Pipeable G>
requires (!concepts::Invocable<G, F>)
constexpr auto operator| (F &&f, G &&g)
 
template<Pipeable F, Pipeable G>
constexpr auto operator* (F &&f, G &&g)
 

Function Documentation

◆ operator*()

template<Pipeable F, Pipeable G>
auto di::function::pipeline::operator* ( F && f,
G && g )
constexpr

◆ operator|() [1/2]

template<Pipeable F, Pipeable G>
requires (!concepts::Invocable<G, F>)
auto di::function::pipeline::operator| ( F && f,
G && g )
constexpr

◆ operator|() [2/2]

template<typename T, Pipeable F>
requires (concepts::Invocable<F, T>)
auto di::function::pipeline::operator| ( T && value,
F && function ) -> decltype(auto)
constexpr