📜  C++库-

📅  最后修改于: 2020-12-15 04:27:46             🧑  作者: Mango


介绍

这些对象将(可能)不同类型的元素打包在一个对象中,就像对对象对元素对一样,但是对任意数量的元素进行了概括。它与配对类(在标头中定义)密切相关):元组可以由成对构造,并且出于某些目的,可以将成对视为元组。

班级

Sr.No. Class & description
1 tuple

It is an object capable to hold a collection of elements. Each element can be of a different type.

助手类

Sr.No. Helper classe & description
1 tuple_size

It contains the information about tuple size.

2 tuple_element

It contains the information about tuple element type.

对象创建

Sr.No. Object creation & description
1 make_tuple

It constructs tuple.

2 forward_as_tuple

It forward as tuple.

3 tie

It contains tie arguments.

4 tuple_cat

It concatenate tuples.

元素访问

Sr.No. Element access & description
1 get

It is used to get element.

对象

Sr.No. Object & description
1 ignore

It ignores assignment.