This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13658] New: [3.4 Regression] namespace association vs. templates part one
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 16:45:22 -0000
- Subject: [Bug c++/13658] New: [3.4 Regression] namespace association vs. templates part one
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
#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