sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::functor_index_iterator< FUNCTOR > Class Template Reference

#include <functor_index_iterator.hpp>

Inheritance diagram for sparrow::functor_index_iterator< FUNCTOR >:
[legend]
Collaboration diagram for sparrow::functor_index_iterator< FUNCTOR >:
[legend]

Public Types

using result_type = std::invoke_result_t<FUNCTOR, std::size_t>
 
using self_type = functor_index_iterator<FUNCTOR>
 
using difference_type = std::ptrdiff_t
 
using size_type = std::size_t
 

Public Member Functions

constexpr functor_index_iterator ()=default
 
constexpr functor_index_iterator (FUNCTOR functor, size_type index)
 

Friends

class iterator_access
 

Detailed Description

template<class FUNCTOR>
class sparrow::functor_index_iterator< FUNCTOR >

Definition at line 23 of file functor_index_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<class FUNCTOR>
using sparrow::functor_index_iterator< FUNCTOR >::difference_type = std::ptrdiff_t

Definition at line 34 of file functor_index_iterator.hpp.

◆ result_type

template<class FUNCTOR>
using sparrow::functor_index_iterator< FUNCTOR >::result_type = std::invoke_result_t<FUNCTOR, std::size_t>

Definition at line 32 of file functor_index_iterator.hpp.

◆ self_type

template<class FUNCTOR>
using sparrow::functor_index_iterator< FUNCTOR >::self_type = functor_index_iterator<FUNCTOR>

Definition at line 33 of file functor_index_iterator.hpp.

◆ size_type

template<class FUNCTOR>
using sparrow::functor_index_iterator< FUNCTOR >::size_type = std::size_t

Definition at line 35 of file functor_index_iterator.hpp.

Constructor & Destructor Documentation

◆ functor_index_iterator() [1/2]

template<class FUNCTOR>
sparrow::functor_index_iterator< FUNCTOR >::functor_index_iterator ( )
constexprdefault

◆ functor_index_iterator() [2/2]

template<class FUNCTOR>
sparrow::functor_index_iterator< FUNCTOR >::functor_index_iterator ( FUNCTOR functor,
size_type index )
inlineconstexpr

Definition at line 39 of file functor_index_iterator.hpp.

Friends And Related Symbol Documentation

◆ iterator_access

template<class FUNCTOR>
friend class iterator_access
friend

Definition at line 93 of file functor_index_iterator.hpp.


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