Gromacs  2025-dev-20240906-b7d3419
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
gmx::Range< typename >::iterator Struct Reference

#include <gromacs/utility/range.h>

Description

template<typename>
struct gmx::Range< typename >::iterator

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.
 
operator* () const
 Pointer.
 
bool operator!= (const iterator other)
 Inequality comparison.
 
iteratoroperator++ ()
 Increment operator.
 
iterator operator++ (int gmx_unused dummy)
 Increment operator.
 

Public Attributes

value_
 The actual value.
 

The documentation for this struct was generated from the following file: