Namespaces
Variants
Views
Actions

Talk:cpp/utility/pair/make pair

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

The way I interpret this page, C++11 contains two variants: "T1 t" and "T1&& t". Correct?

VC11 contains only the "T1&& t" variant of this function. According to Microsoft:

 http://connect.microsoft.com/VisualStudio/feedback/details/691756/std

that is standard conformant.

Does anyone know how this contradiction can be explained/solved?

While this page lists several variants, each of them are valid only for specific standard revisions. If the since ..., until .. tags are examined, no standard revision has more than one overload. Thus there's no contradiction. --P12 01:51, 18 October 2013 (PDT)