PrevUpHomeNext

Function template to

boost::pipeline::to

Synopsis

// In header: <boost/pipeline/pipeline.hpp>


template<typename Function, 
         typename std::enable_if< std::is_function< Function >::value, int >::type = 0> 
  unspecified to(const Function & consumer);

Description

Creates a right-terminated segment representing consumer

Wrap sink transformations returning non-void by this call to create a right-terminated segment.

Parameters:

consumer

Sink transformation, function pointer

Returns:

segment<unknown, terminated>


PrevUpHomeNext