[Bug c++/13658] New: [3.4 Regression] namespace association vs. templates part one
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 12 16:45:00 GMT 2004
#include <vector>
int main()
{
// Should use vector specialization for swap, and does not.
{
std::vector<int> A;
std::vector<int> B;
std::swap(A, B);
}
// Should use vector specialization for swap, and does.
{
using namespace std;
vector<int> A;
vector<int> B;
swap(A, B);
}
return 0;
}
--
Summary: [3.4 Regression] namespace association vs. templates
part one
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bkoz at gcc dot gnu dot org
CC: aoliva at redhat dot com,gcc-bugs at gcc dot gnu dot
org,jason at redhat dot com,rsandifo at redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13658
More information about the Gcc-bugs
mailing list