📅  最后修改于: 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. |