...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::last_value<void> — Evaluate an InputIterator sequence.
// In header: <boost/last_value.hpp> class last_value<void> { public: // types typedef unspecified result_type; // invocation template<typename InputIterator> result_type operator()(InputIterator, InputIterator) const; };
last_value
invocationtemplate<typename InputIterator> result_type operator()(InputIterator first, InputIterator last) const;
Effects: |
Dereferences every iterator in the sequence |