Talk:cpp/utility/pair

Perhaps get should go here (and in tuple) instead of top-level Utility page. But how about non-member metafunctions, such as tuple_element and tuple_size? -- Cubbi


 * Yes, I think that functions related only to some class should described in the subpages of that class. The user would come to that page anyway. So the make_pair and make_tuple should also be moved. P12 16:25, 22 August 2011 (PDT)

Question: shouldn't we mention regarding whether or not memory layout order of 'first', 'second' is mandated by the standard? We know that for tuple it is not but we do claim that a pair is a special case of a tuple? Chanangaza (talk) 22:06, 31 May 2023 (PDT)


 * The synopsis explicitly states that  and  are public data members of, and  appears before . Therefore  always has higher address than  according to the rules stated here. No special case here. Xmcgcg (talk) 01:41, 1 June 2023 (PDT)