PrevUpHomeNext

Function template to

boost::pipeline::to

Synopsis

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


template<typename Callable, 
         typename std::enable_if<!std::is_function< Callable >::value, int >::type = 0> 
  unspecified to(const Callable & 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, non-function pointer

Returns:

segment<unknown, terminated>


PrevUpHomeNext