|---|---  
[ LWG 3563 ](https://cplusplus.github.io/LWG/issue3563) |  C++20  |  ` keys_view ` is unable to participate in CTAD due to its use of  views::all_t  |  views::all_t  removed   
  
###  [ [ edit
](/mwiki/index.php?title=cpp/ranges/keys_view&action=edit&section=4 "Edit
section: See also") ]  See also

[ ranges::values_view  views::values  ](/w/cpp/ranges/values_view "cpp/ranges/values view") (C++20)  |  takes a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") consisting of pair-like values and produces a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") of the second elements of each pair   
(class template)  (range adaptor object)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_values_view&action=edit)  
---|---  
[ ranges::elements_view  views::elements  ](/w/cpp/ranges/elements_view "cpp/ranges/elements view") (C++20)  |  takes a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") consisting of [ ` _tuple-like_ ` ](/w/cpp/utility/tuple/tuple-like "cpp/utility/tuple/tuple-like") values and a number N and produces a [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") of N  th  element of each tuple   
(class template)  (range adaptor object)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/dsc_elements_view&action=edit)  
[ slice  ](/w/cpp/numeric/valarray/slice "cpp/numeric/valarray/slice") |  BLAS-like slice of a valarray: starting index, length, stride   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/numeric/valarray/dsc_slice&action=edit)  
  
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/keys_view&oldid=160902
](https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/keys_view&oldid=160902)
"

#####  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/keys_view "A list of all wiki pages that link here \[j\]")
  * [ Related changes ](/w/Special:RecentChangesLinked/cpp/ranges/keys_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/keys_view&printable=yes "Printable version of this page \[p\]")
  * [ Permanent link ](/mwiki/index.php?title=cpp/ranges/keys_view&oldid=160902 "Permanent link to this revision of the page")
  * [ Page information ](/mwiki/index.php?title=cpp/ranges/keys_view&action=info)

  * In other languages 

  * [ Deutsch ](http://de.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ Español ](http://es.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ Français ](http://fr.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ Italiano ](http://it.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ 日本語 ](http://ja.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ Português ](http://pt.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ Русский ](http://ru.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")
  * [ 中文 ](http://zh.cppreference.com/w/cpp/ranges/keys_view "cpp/ranges/keys view")

  * This page was last modified on 18 October 2023, at 11:42. 
  * This page has been accessed 24,813 times. 

  * [ Privacy policy ](/w/Cppreference:Privacy_policy "Cppreference:Privacy policy")
  * [ About cppreference.com ](/w/Cppreference:About "Cppreference:About")
  * [ Disclaimers ](/w/Cppreference:General_disclaimer "Cppreference:General disclaimer")

  * [ ![Powered by MediaWiki](/mwiki/skins/common/images/poweredby_mediawiki_88x31.png)