![]() |
Home | Libraries | People | FAQ | More |
boost::range_run_storage::last_value — Returns the value of the last Run of an InfiniteRangeRunStorage.
// In header: <boost/range_run_storage/algorithm/first_last.hpp> template<typename In> concepts::InfiniteRangeRunStorage< In const >::reference last_value(In const & s);
Returns the value of the last Run of an InfiniteRangeRunStorage. Complexity is O(1).
| Parameters: |
|
||
| Requires: |
In is a model of InfiniteRangeRunStorage. s contains at least one run. InfiniteRangeRunStorage<In const>::cursor is a model of BidirectionalIterator. |
||
| Returns: | The value of the last run in the InfiniteRangeRunStorage. |