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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
Class last_value<void>
c++boost.gif (8819 bytes)HomeLibrariesPeopleFAQMore

Class last_value<void>

boost::last_value<void> — Evaluate an InputIterator sequence.


class last_value<void> {
  // types
  typedef unspecified result_type;

  // invocation
  template<typename InputIterator> 
    result_type operator()(InputIterator, InputIterator) const;


last_value invocation

  1. template<typename InputIterator> 
      result_type operator()(InputIterator first, InputIterator last) const;

    Effects: Dereferences every iterator in the sequence [first, last).

Last revised: , at GMTCopyright © 2001-2003 Douglas Gregor