alpaqa 1.0.0a17
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
iter_range_adapter< It >::iter_t Struct Reference

#include <alpaqa/util/iter-adapter.hpp>

Detailed Description

template<class It>
struct alpaqa::util::iter_range_adapter< It >::iter_t

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

+ Inheritance diagram for iter_range_adapter< It >::iter_t:
+ Collaboration diagram for 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
 

Member Typedef Documentation

◆ value_type

template<class It >
using value_type = iter_t

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

◆ pointer

template<class It >
using pointer = iter_t *

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

◆ reference

template<class It >
using reference = iter_t &

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

◆ difference_type

template<class It >
using difference_type = std::ptrdiff_t

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

Constructor & Destructor Documentation

◆ iter_t() [1/2]

template<class It >
iter_t ( )
default

◆ iter_t() [2/2]

template<class It >
iter_t ( It  it)
inline

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

Member Function Documentation

◆ operator!=()

template<class It >
bool operator!= ( sentinel_t  ) const
inline

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

◆ operator==()

template<class It >
bool operator== ( sentinel_t  ) const
inline

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

◆ operator++() [1/2]

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

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

◆ operator++() [2/2]

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

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

◆ operator*()

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

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


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