Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template difference1

boost::range_run_storage::difference1 —

Synopsis

// In header: <boost/range_run_storage/difference1.hpp>

template<typename Base> 
struct difference1 {
  // types
  typedef iterator_difference< Base >::type difference_type;
  typedef unit_run< difference_type >       result_type;    

  // construct/copy/destruct
  difference1(Base);

  // public member functions
  result_type operator()(Base const &) const;
};

Description

difference1 public construct/copy/destruct

  1. difference1(Base x);

difference1 public member functions

  1. result_type operator()(Base const & y) const;

PrevUpHomeNext