Gromacs
2025-dev-20240906-b7d3419
|
#include <gromacs/utility/range.h>
An iterator that loops over a range of integers.
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = T |
using | value_type = T |
using | pointer = T * |
using | reference = T & |
Public Member Functions | |
iterator (T value) | |
Constructor. | |
operator T () const | |
Value. | |
operator T & () | |
Reference. | |
T | operator* () const |
Pointer. | |
bool | operator!= (const iterator other) |
Inequality comparison. | |
iterator & | operator++ () |
Increment operator. | |
iterator | operator++ (int gmx_unused dummy) |
Increment operator. | |
Public Attributes | |
T | value_ |
The actual value. | |