별의 공부 블로그 🧑🏻‍💻
728x90
728x170

*[header][other] tuple (C++11)


<tuple>

Tuple library
Tuples 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.

Conceptually, they are similar to plain old data structures (C-like structs) but instead of having named data members, its elements are accessed by their order in the tuple.

The selection of particular elements within a tuple is done at the template-instantiation level, and thus, it must be specified at compile-time, with helper functions such as get and tie.

The tuple class is closely related to the pair class (defined in header <utility>): Tuples can be constructed from pairs, and pairs can be treated as tuples for certain purposes.

array containers also have certain tuple-like functionalities.


Classes


Helper classes


Functions

Object creation


Element access


Objects



내용 출처 : http://www.cplusplus.com/reference/tuple/

728x90
그리드형(광고전용)

'Programming > C++' 카테고리의 다른 글

[header][other] utility  (0) 2017.11.08
[header][other] type_traits (C++11)  (0) 2017.11.08
[header][other] typeinfo  (0) 2017.11.08
[header][other] typeindex (C++11)  (0) 2017.11.08
[header][other] system_error (C++11)  (0) 2017.11.08
[header][other] string  (0) 2017.11.08
[header][other] stdexcept  (0) 2017.11.08
[header][other] regex (C++11)  (0) 2017.11.08
⚠️AdBlock이 감지되었습니다. 원할한 페이지 표시를 위해 AdBlock을 꺼주세요.⚠️


📖 Contents 📖