alpaqa develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
iter_range_adapter< It > Struct Template Reference

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

Detailed Description

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

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

+ Collaboration diagram for iter_range_adapter< It >:

Classes

struct  iter_t
 
struct  sentinel_t
 

Public Member Functions

 iter_range_adapter ()=default
 
 iter_range_adapter (It it)
 
auto begin () const &-> std::input_or_output_iterator auto
 
auto begin () &&-> std::input_or_output_iterator auto
 
auto end () const
 

Public Attributes

It it
 

Class Documentation

◆ alpaqa::util::iter_range_adapter::sentinel_t

struct alpaqa::util::iter_range_adapter::sentinel_t
+ Collaboration diagram for iter_range_adapter< It >::sentinel_t:

Constructor & Destructor Documentation

◆ iter_range_adapter() [1/2]

template<class It >
iter_range_adapter ( )
default

◆ iter_range_adapter() [2/2]

template<class It >
iter_range_adapter ( It  it)
inline

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

Member Function Documentation

◆ begin() [1/2]

template<class It >
auto begin ( ) const & -> std::input_or_output_iterator auto
inline

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

◆ begin() [2/2]

template<class It >
auto begin ( ) && -> std::input_or_output_iterator auto
inline

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

◆ end()

template<class It >
auto end ( ) const
inline

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

Member Data Documentation

◆ it

template<class It >
It it

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


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