Index: include/bits/stl_pair.h =================================================================== --- include/bits/stl_pair.h (revision 163739) +++ include/bits/stl_pair.h (working copy) @@ -100,19 +100,6 @@ #ifdef __GXX_EXPERIMENTAL_CXX0X__ pair(const pair&) = default; - // DR 811. - template::value>::type> - pair(_U1&& __x, const _T2& __y) - : first(std::forward<_U1>(__x)), - second(__y) { } - - template::value>::type> - pair(const _T1& __x, _U2&& __y) - : first(__x), - second(std::forward<_U2>(__y)) { } - template::value && std::is_convertible<_U2, _T2>::value>::type> Index: testsuite/20_util/pair/dr811.cc =================================================================== --- testsuite/20_util/pair/dr811.cc (revision 0) +++ testsuite/20_util/pair/dr811.cc (revision 0) @@ -0,0 +1,27 @@ +// { dg-options "-std=gnu++0x" } +// { dg-do compile } + +// Copyright (C) 2010 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 3, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING3. If not see +// . + +#include + +int +main() +{ + std::pair p (0, 0); +}