Class template last_valueboost::last_value — Evaluate an InputIterator sequence and return the last value in the sequence. Synopsistemplate<typename T> class last_value { public: // types typedef T result_type; // invocation template<typename InputIterator> result_type operator()(InputIterator, InputIterator) const; }; Description
|
Requires: |
|
Effects: |
Dereferences every iterator in the sequence |
Returns: |
The result of dereferencing the iterator |