Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Std/Stl/CollectionClasses/SortedCollections/Tuple

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A "tuple" is like a pair, except that a tuple can have more than two elements: std::tuple<char,int,float> cifVar('a', 11, 1.1F);. Access each component as std::get<0>(cifVar) or std::get<1>(cifVar) or std::get<2>(cifVar). Additional information about tuple (includes interactive examples)