This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r153725 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 29 Oct 2009 19:26:04 -0000
- Subject: r153725 - in /trunk/libstdc++-v3: ChangeLog inc...
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.carlini@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.gregor@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