Namespaces
Variants
Actions

Talk:cpp/utility/pair/pair

From cppreference.com
< Talk:cpp‎ | utility‎ | pair

Using gcc 4.8.2, there appear to be additional constructors pair(const T1& x, T2&& y) and pair(T1&& x, const T2& y). Are those non-standard gcc extensions...? --124.149.177.244 10:32, 12 January 2015 (PST)

it appears to be an early workaround for DR 811, you can find its history in GCC bugzilla. You can find a more literal implementation of the standard requirement in clang's library --Cubbi (talk) 10:54, 12 January 2015 (PST)