8 9
    1 2 3 4 5 6 7 8 9
    1 2 3 4 5 6 7 8 9

###  [ [ edit
](/mwiki/index.php?title=cpp/ranges/iota_view&action=edit&section=8 "Edit
section: Defect reports") ]  Defect reports

The following behavior-changing defect reports were applied retroactively to
previously published C++ standards.

DR  |  Applied to  |  Behavior as published  |  Correct behavior   
---|---|---|---  
[ LWG 3523 ](https://cplusplus.github.io/LWG/issue3523) |  C++20  |  iterator-sentinel pair constructor might use wrong sentinel type  |  corrected   
[ LWG 3610 ](https://cplusplus.github.io/LWG/issue3610) |  C++20  |  ` size ` might reject integer-class types  |  accept if possible   
[ LWG 4001 ](https://cplusplus.github.io/LWG/issue4001) |  C++20  |  the inherited member ` empty ` function was not always valid  |  ` empty ` is always provided   
[ P2325R3 ](https://wg21.link/P2325R3) |  C++20  |  ` iota_view ` required that ` W ` is [ ` semiregular ` ](/w/cpp/concepts/semiregular "cpp/concepts/semiregular")   
as [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") required [ ` default_initializable ` ](/w/cpp/concepts/default_initializable "cpp/concepts/default initializable") |  only requires that ` W ` is [ ` copyable ` ](/w/cpp/concepts/copyable "cpp/concepts/copyable")  
[ P2711R1 ](https://wg21.link/P2711R1) |  C++20  |  the multi-parameter constructors were not explicit  |  made explicit   
  
###  [ [ edit
](/mwiki/index.php?title=cpp/ranges/iota_view&action=edit&section=9 "Edit
section: See also") ]  See also

[ iota  ](/w/cpp/algorithm/iota "cpp/algorithm/iota") (C++11)  |  fills a range with successive increments of the starting value   
(function template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_iota&action=edit)  
---|---  
[ ranges::iota  ](/w/cpp/algorithm/ranges/iota "cpp/algorithm/ranges/iota") (C++23)  |  fills a range with successive increments of the starting value   
(niebloid)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/ranges/dsc_iota&action=edit)  
[ ranges::repeat_view  views::repeat  ](/w/cpp/ranges/repeat_view "cpp/ranges/repeat view") (C++23)  |  a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") consisting of a generated sequence by repeatedly producing the same value   
(class template)  (customization point object)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_repeat_view&action=edit)  
  
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/iota_view&oldid=169374
](https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/iota_view&oldid=169374)
"

#####  Navigation

  * [ Support us ](http://www.cppreference.com/support)
  * [ Recent changes ](/w/Special:RecentChanges "A list of recent changes in the wiki \[r\]")
  * [ FAQ ](/w/Cppreference:FAQ)
  * [ Offline version ](/w/Cppreference:Archives)

#####  Toolbox

  * [ What links here ](/w/Special:WhatLinksHere/cpp/ranges/iota_view "A list of all wiki pages that link here \[j\]")
  * [ Related changes ](/w/Special:RecentChangesLinked/cpp/ranges/iota_view "Recent changes in pages linked from this page \[k\]")
  * [ Upload file ](http://upload.cppreference.com/w/Special:Upload "Upload files \[u\]")
  * [ Special pages ](/w/Special:SpecialPages "A list of all special pages \[q\]")
  * [ Printable version ](/mwiki/index.php?title=cpp/ranges/iota_view&printable=yes "Printable version of this page \[p\]")
  * [ Permanent link ](/mwiki/index.php?title=cpp/ranges/iota_view&oldid=169374 "Permanent link to this revision of the page")
  * [ Page information ](/mwiki/index.php?title=cpp/ranges/iota_view&action=info)

  * In other languages 

  * [ Español ](http://es.cppreference.com/w/cpp/ranges/iota_view "cpp/ranges/iota view")
  * [ 日本語 ](http://ja.cppreference.com/w/cpp/ranges/iota_view "cpp/ranges/iota view")
  * [ Русский ](http://ru.cppreference.com/w/cpp/ranges/iota_view "cpp/ranges/iota view")
  * [ 中文 ](http://z