c_tuple_size&action=edit)  
[ std::tuple_element  <std::pair> ](/w/cpp/utility/pair/tuple_element "cpp/utility/pair/tuple element") (C++11)  |  obtains the type of the elements of ` pair `   
(class template specialization)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/utility/pair/dsc_tuple_element&action=edit)  
  
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/utility/pair/tuple_size&oldid=166806
](https://en.cppreference.com/mwiki/index.php?title=cpp/utility/pair/tuple_size&oldid=166806)
"

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

  * In other languages 

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

  * This page was last modified on 22 December 2023, at 22:57. 
  * This page has been accessed 35,013 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) ](//www.mediawiki.org/) [ ![Powered by GeSHi](//upload.cppreference.com/mwiki/images/2/2b/powered_by_geshi_88x31.png) ](http://qbnz.com/highlighter/) [ ![Hosted by Tiger Technologies](//upload.cppreference.com/mwiki/images/9/94/powered_by_tigertech_88x31.png) ](http://www.tigertech.net/referral/cppreference.com)