guanaqo develop
Utilities for scientific software
Loading...
Searching...
No Matches
guanaqo::iter_range_adapter< It >::iter_t Struct Reference

#include <guanaqo/iter-adapter.hpp>

Detailed Description

template<class It>
struct guanaqo::iter_range_adapter< It >::iter_t

Definition at line 25 of file iter-adapter.hpp.

Inheritance diagram for guanaqo::iter_range_adapter< It >::iter_t:
Collaboration diagram for guanaqo::iter_range_adapter< It >::iter_t:

Public Types

using value_type = iter_t
using pointer = iter_t *
using reference = iter_t &
using difference_type = std::ptrdiff_t

Public Member Functions

 iter_t ()=default
 iter_t (It it)
bool operator!= (sentinel_t) const
bool operator== (sentinel_t) const
iter_toperator++ ()
iter_t operator++ (int i) const
const iter_toperator* () const

Friends

bool operator!= (sentinel_t s, const iter_t &i)
bool operator== (sentinel_t s, const iter_t &i)

Member Typedef Documentation

◆ value_type

template<class It>
using guanaqo::iter_range_adapter< It >::iter_t::value_type = iter_t

Definition at line 45 of file iter-adapter.hpp.

◆ pointer

template<class It>
using guanaqo::iter_range_adapter< It >::iter_t::pointer = iter_t *

Definition at line 46 of file iter-adapter.hpp.

◆ reference

template<class It>
using guanaqo::iter_range_adapter< It >::iter_t::reference = iter_t &

Definition at line 47 of file iter-adapter.hpp.

◆ difference_type

template<class It>
using guanaqo::iter_range_adapter< It >::iter_t::difference_type = std::ptrdiff_t

Definition at line 48 of file iter-adapter.hpp.

Constructor & Destructor Documentation

◆ iter_t() [1/2]

template<class It>
guanaqo::iter_range_adapter< It >::iter_t::iter_t ( )
default
Here is the caller graph for this function:

◆ iter_t() [2/2]

template<class It>
guanaqo::iter_range_adapter< It >::iter_t::iter_t ( It it)
inline

Definition at line 28 of file iter-adapter.hpp.

Member Function Documentation

◆ operator!=()

template<class It>
bool guanaqo::iter_range_adapter< It >::iter_t::operator!= ( sentinel_t ) const
inline

Definition at line 30 of file iter-adapter.hpp.

◆ operator==()

template<class It>
bool guanaqo::iter_range_adapter< It >::iter_t::operator== ( sentinel_t ) const
inline

Definition at line 31 of file iter-adapter.hpp.

◆ operator++() [1/2]

template<class It>
iter_t & guanaqo::iter_range_adapter< It >::iter_t::operator++ ( )
inline

Definition at line 36 of file iter-adapter.hpp.

Here is the call graph for this function:

◆ operator++() [2/2]

template<class It>
iter_t guanaqo::iter_range_adapter< It >::iter_t::operator++ ( int i) const
inline

Definition at line 40 of file iter-adapter.hpp.

Here is the call graph for this function:

◆ operator*()

template<class It>
const iter_t & guanaqo::iter_range_adapter< It >::iter_t::operator* ( ) const
inline

Definition at line 44 of file iter-adapter.hpp.

Here is the call graph for this function:

◆ operator!=

template<class It>
bool operator!= ( sentinel_t s,
const iter_t & i )
friend

Definition at line 33 of file iter-adapter.hpp.

◆ operator==

template<class It>
bool operator== ( sentinel_t s,
const iter_t & i )
friend

Definition at line 34 of file iter-adapter.hpp.


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