iterator "cpp/ranges/iota
view/iterator")  
[ Member types ](/w/cpp/ranges/iota_view/iterator#Member_types
"cpp/ranges/iota view/iterator")  
[ Member functions ](/w/cpp/ranges/iota_view/iterator#Member_functions
"cpp/ranges/iota view/iterator")  
[ iota_view:: _iterator_ :: _iterator_
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ iota_view:: _iterator_ ::operator*
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ iota_view:: _iterator_ ::operator[]
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ iota_view:: _iterator_ ::operator++  
iota_view:: _iterator_ ::operator++  (int)
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ iota_view:: _iterator_ ::operator--  
iota_view:: _iterator_ ::operator--  (int)
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ iota_view:: _iterator_ ::operator+=
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ iota_view:: _iterator_ ::operator-=
](/w/cpp/ranges/iota_view/iterator#Member_functions "cpp/ranges/iota
view/iterator")  
[ Non-member functions ](/w/cpp/ranges/iota_view/iterator#Non-member_functions
"cpp/ranges/iota view/iterator")  
[ operator==  (iota_view:: _iterator_ )  
operator< (iota_view:: _iterator_ )  
operator> (iota_view:: _iterator_ )  
operator<=  (iota_view:: _iterator_ )  
operator>=  (iota_view:: _iterator_ )  
operator<=> (iota_view:: _iterator_ )  ](/w/cpp/ranges/iota_view/iterator#Non-
member_functions "cpp/ranges/iota view/iterator")  
[ operator+  (iota_view:: _iterator_ )
](/w/cpp/ranges/iota_view/iterator#Non-member_functions "cpp/ranges/iota
view/iterator")  
[ operator-  (iota_view:: _iterator_ )
](/w/cpp/ranges/iota_view/iterator#Non-member_functions "cpp/ranges/iota
view/iterator")  
[ _Sentinel_ ](/w/cpp/ranges/iota_view/sentinel "cpp/ranges/iota
view/sentinel")  
[ Member functions ](/w/cpp/ranges/iota_view/sentinel#Member_functions
"cpp/ranges/iota view/sentinel")  
[ iota_view:: _sentinel_ :: _sentinel_
](/w/cpp/ranges/iota_view/sentinel#Member_functions "cpp/ranges/iota
view/sentinel")  
[ Non-member functions ](/w/cpp/ranges/iota_view/sentinel#Non-member_functions
"cpp/ranges/iota view/sentinel")  
[ operator==  (iota_view:: _iterator_ ,iota_view:: _sentinel_ )
](/w/cpp/ranges/iota_view/sentinel#Non-member_functions "cpp/ranges/iota
view/sentinel")  
[ operator-  (iota_view:: _iterator_ ,iota_view:: _sentinel_ )
](/w/cpp/ranges/iota_view/sentinel#Non-member_functions "cpp/ranges/iota
view/sentinel")  
  
[ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/iota_view/navbar_content&action=edit)

Defined in header ` [ <ranges> ](/w/cpp/header/ranges "cpp/header/ranges") ` |  |   
---|---|---  
template  < [ std::  weakly_incrementable
](http://en.cppreference.com/w/cpp/iterator/weakly_incrementable) W,  
[ std::  semiregular  ](http://en.cppreference.com/w/cpp/concepts/semiregular)
Bound  =  [ std::  unreachable_sentinel_t
](http://en.cppreference.com/w/cpp/iterator/unreachable_sentinel_t) >  
requires __WeaklyEqualityComparableWith  < W, Bound  > && [ std::  copyable
](http://en.cppreference.com/w/cpp/concepts/copyable) < W  >  
class  iota_view  
:  public  [ ranges::  view_interface  ](http://en.cppreference.com/w/cpp/ranges/view_interface) < iota_view  < W, Bound  >> |  (1)  |  (since C++20)   
namespace  views  {  
inline  constexpr  /* unspecified */  iota  =  /* unspecified */  ;  
}  |  (2)  |  (since C++20)   
Call signature  |  |   
template  < class  W  >  
requires  /* see below */  
constexpr  /* see below */  iota  (  W  && value  )  ;  |  |  (since C++20)   
template  < class  W,  class  Bound  >  
requires  /* see below */  
constexpr  /* see below */  iota  (  W  && value, Bound  && bound  )  ;  |  |  (since C++20)   
|  |   
  
1)  A range factory that generates a sequence of el