Go to the source code of this file.
|
| template<class TPipe > |
| using | IsPipe = std::integral_constant< bool, std::is_same_v< decltype(std::declval< const TPipe >().operator()(std::declval< typename TPipe::InputType >())), typename TPipe::OutputType > &&!std::is_same_v< typename TPipe::InputType, void > &&!std::is_same_v< typename TPipe::OutputType, void > > |
| | Bool constant checking whether TPipe satisfies the requirements of a pipe.
|
| |
| template<class ... TPipes> |
| using | Pipeline = decltype((...|std::declval< TPipes >())) |
| | Convenience type alias for complex pipes.
|
| |
|
| template<class TInput , class TPipe , std::enable_if_t< IsPipe< TPipe >::value &&std::is_convertible_v< TInput, typename TPipe::InputType >, bool > = true> |
| TPipe::OutputType | operator>> (TInput &&rInput, const TPipe &rPipe) |
| | Operator for calling operator() of the pipe.
|
| |
| template<class TInputPipe , class TOutputPipe , std::enable_if_t< IsPipe< TInputPipe >::value &&IsPipe< TOutputPipe >::value, bool > = true> |
| CompoundPipe< TInputPipe, TOutputPipe > | operator| (TInputPipe &&rInputPipe, TOutputPipe &&rOutputPipe) |
| | Construct a pipe that takes the output of an input pipe and feeds it into an output pipe.
|
| |
| template<class TInputPipe , class TOutputPipe , std::enable_if_t< IsPipe< TInputPipe >::value &&IsPipe< TOutputPipe >::value, bool > = true> |
| CompoundPipe< TInputPipe, TOutputPipe > | operator| (const TInputPipe &rInputPipe, const TOutputPipe &rOutputPipe) |
| | Construct a pipe that takes the output of an input pipe and feeds it into an output pipe.
|
| |