পৃষ্ঠাসমূহ

.

Search Your Article

Total Pageviews

Saturday, January 28, 2017

C++ Library -

Introduction

These are objects that pack elements of -possibly- different types together in a single object, just like pair objects do for pairs of elements, but generalized for any number of elements. It is closely related to the pair class (defined in header ): Tuples can be constructed from pairs, and pairs can be treated as tuples for certain purposes.

Classes

S.N. Class & description
1 tuple It is an object capable to hold a collection of elements. Each element can be of a different type.

Helper classes

S.N. Helper classe & description
1 tuple_size It contains the information about tuple size.
2 tuple_element It contains the information about tuple element type.

Object creation

S.N. 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.

Element access

S.N. Element access & description
1 get It is used to get element.

Objects

S.N. Object & description
1 ignore It ignores assignment.

No comments:

Post a Comment