------- Comment #7 from paolo at gcc dot gnu dot org 2009-10-29 19:26 ------- Subject: Bug 40925
Author: paolo Date: Thu Oct 29 19:26:04 2009 New Revision: 153725 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153725 Log: 2009-10-29 Paolo Carlini <paolo.carl...@oracle.com> PR libstdc++/40925 * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, _U2&&)): Use enable_if to remove it from the overload set when either _U1 is not convertible to _T1 or _U2 is not convertible to _T2. (pair<>::pair(_U1&&, _Arg0&&, _Args&&...)): Remove. 2009-10-29 Douglas Gregor <doug.gre...@gmail.com> PR libstdc++/40925 * testsuite/20_util/pair/40925.cc: Add. Added: trunk/libstdc++-v3/testsuite/20_util/pair/40925.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_pair.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40925