tess 1.0.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::Pipeline< Source > Class Template Reference

#include <tess/block/pipeline.h>

Public Types

using value_type = typename Source::value_type

Public Member Functions

 Pipeline (Source source, PipelineDiagnostics *diagnostics=nullptr)
template<typename Predicate>
auto filter (Predicate predicate) &&
template<typename Mapper>
auto map (Mapper mapper) &&
template<typename Mapper>
auto flat_map (Mapper mapper) &&
template<typename Fn>
void for_each (Fn &&fn)
template<typename Result, typename Reducer>
auto reduce (Result initial, Reducer reducer) -> Result
template<typename Output, std::size_t Extent>
auto collect_into (std::span< Output, Extent > output) -> PipelineCollectResult
template<typename Output, std::size_t Size>
auto collect_into (std::array< Output, Size > &output) -> PipelineCollectResult
auto to_sequence_allocating () -> std::vector< value_type >

Detailed Description

template<typename Source>
class tess::Pipeline< Source >

Compile-time composed lazy pipeline with explicit terminals.


The documentation for this class was generated from the following file: