![]() |
Home | Libraries | People | FAQ | More |
boost::range_run_storage::last_run — Returns the last run of an InfiniteRangeRunStorage.
// In header: <boost/range_run_storage/algorithm/first_last.hpp> template<typename In> unspecified last_run(In const & s);
Returns the last Run of an InfiniteRangeRunStorage. If there are no runs in the InfinteRangeRunStorage, an empty run is returned. Complexity is O(1).
| Parameters: |
|
||
| Requires: |
In is a model of InfiniteRangeRunStorage. InfiniteRangeRunStorage<In const>::cursor is a model of BidirectionalIterator. |
||
| Returns: | A Run which has the same offset and end offset as the last run in the InfiniteRangeRunStorage if one exists, or and empty run if one doesn't. |