OpenTTD Source: src/misc/alternating_iterator.hpp File Reference

OpenTTD Source 15.0-RC2

Data Structures
alternating_iterator.hpp File Reference

Iterator adaptor that takes items alternating from a middle position. More...

`#include <ranges>`

Go to the source code of this file.

## Data Structures
class | AlternatingIterator< Titer >
| Iterator that alternately takes from the "middle" of a range. More...
class | AlternatingView< Titer >

## Detailed Description

Iterator adaptor that takes items alternating from a middle position.

Definition in file alternating_iterator.hpp.