Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct rend

boost::proto::functional::rend — A PolymorphicFunctionObject type that invokes the boost::rend() accessor function on its arguments.

Synopsis

// In header: <boost/proto/functional/range/rend.hpp>


struct rend :  proto::callable {
  // member classes/structs/unions
  template<typename This, typename Range> 
  struct result<This(Range)> :  boost::range_reverse_iterator<
      typename boost::remove_reference<Range>::type
  >
  {
  };

  // public member functions
  template<typename Range> 
    typename boost::range_reverse_iterator< Range >::type 
    operator()(Range &) const;
  template<typename Range> 
    typename boost::range_reverse_iterator< Range const >::type 
    operator()(Range const &) const;
};

Description

A PolymorphicFunctionObject type that invokes the boost::rend() accessor function on its arguments.

rend public member functions

  1. template<typename Range> 
      typename boost::range_reverse_iterator< Range >::type 
      operator()(Range & rng) const;

    Returns:

    boost::rend(rng)

  2. template<typename Range> 
      typename boost::range_reverse_iterator< Range const >::type 
      operator()(Range const & rng) const;

    Returns:

    boost::rend(rng)


PrevUpHomeNext