Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template piped_pipe

boost::piped_pipe

Synopsis

// In header: <boost/iterator/pipe_iterator.hpp>

template<typename P1, typename P2> 
struct piped_pipe {
  // types
  typedef unspecified     boost_concept_check__LINE__;
  typedef unspecified     boost_concept_check__LINE__;
  typedef unspecified     boost_concept_check__LINE__;
  typedef P1::input_type  input_type;                 
  typedef P2::output_type output_type;                

  // construct/copy/destruct
  piped_pipe();
  piped_pipe(P1, P2 = P2());

  // public member functions
  template<typename In, typename Out> std::pair< In, Out > ltr(In, In, Out) ;
  template<typename In, typename Out> std::pair< In, Out > rtl(In, In, Out) ;
  static const std::size_t mpl_assertion_in_line___LINE__;
};

Description

Model of Pipe that adapts the elements another Pipe sees with a model of Pipe, assuming its max_output is 1.

piped_pipe public construct/copy/destruct

  1. piped_pipe();
  2. piped_pipe(P1 p1_, P2 p2_ = P2());

piped_pipe public member functions

  1. template<typename In, typename Out> 
      std::pair< In, Out > ltr(In begin, In end, Out out) ;
  2. template<typename In, typename Out> 
      std::pair< In, Out > rtl(In begin, In end, Out out) ;

PrevUpHomeNext