![]() |
Home | Libraries | People | FAQ | More |
boost::range_run_storage::first_run — Returns the first run of an InfiniteRangeRunStorage.
// In header: <boost/range_run_storage/algorithm/first_last.hpp> template<typename In> unspecified first_run(In const & s);
Returns the first 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. |
||
| Returns: | A Run which has the same offset and end offset as the first run in the InfiniteRangeRunStorage if one exists, or and empty run if one doesn't. |