Not only is there no requirement that the objects be arranged any particular way, but many tuple
implementations actually put the second object before the first one.
More Related Contents:
- Optimizing away a “while(1);” in C++0x
- Will std::string always be null-terminated in C++11?
- Implementing comparison operators via ‘tuple’ and ‘tie’, a good idea?
- Generic hash for tuples in unordered_map / unordered_set
- Is a moved-from vector always empty?
- c++ access static members using null pointer
- Template tuple – calling a function on each element
- Convert std::tuple to std::array C++11
- Why is modifying a string through a retrieved pointer to its data not allowed?
- Get pointer to object from pointer to some member
- Is it legal to declare a constexpr initializer_list object?
- Are notes and examples in the core language specification of the C++ Standard non-normative?
- C++11 way to index tuple at runtime without using switch
- Why is the std::initializer_list constructor preferred when using a braced initializer list?
- Does this code from “The C++ Programming Language” 4th edition section 36.3.6 have well-defined behavior?
- Can C++ code be valid in both C++03 and C++11 but do different things?
- What is the value category of the operands of C++ operators when unspecified?
- Are int8_t and uint8_t intended to be char types?
- Is left-shifting (
- What is the purpose of a declaration like int (x); or int (x) = 10;
- Why is there no piecewise tuple construction?
- Is writing to &str[0] buffer (of a std:string) well-defined behaviour in C++11?
- Does C++11 allow dollar signs in identifiers?
- How to iterate over a std::tuple in C++ 11 [duplicate]
- how to avoid undefined execution order for the constructors when using std::make_tuple
- What is the recommended way to align memory in C++11
- What expressions create xvalues?
- Why does the template-id in “A=0” not compile without space because of the greater-or-equal-than operator “>=”?
- Can using a lambda in header files violate the ODR?
- get part of std::tuple