Clingo
Loading...
Searching...
No Matches
CppClingo::Util::index_sequence< T >::iterator Class Reference

Const iterator for index sequence. More...

#include <index_sequence.hh>

Public Types

using iterator_category = std::forward_iterator_tag
 The iterator category.
 
using value_type = T
 The value type.
 
using difference_type = std::ptrdiff_t
 The difference type.
 
using reference = T
 The reference type.
 
using pointer = void
 The pointer type.
 

Public Member Functions

 iterator ()=default
 Construct an end iterator.
 
auto operator* () const -> reference
 Get the current value.
 
auto operator++ () -> iterator &
 Increment the iterator.
 
auto operator++ (int) -> iterator
 Post increment the iterator.
 
auto operator== (const iterator &other) const -> bool
 Compare two iterators.
 
auto operator!= (const iterator &other) const -> bool
 Compare two iterators.
 

Detailed Description

template<class T>
class CppClingo::Util::index_sequence< T >::iterator

Const iterator for index sequence.


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