This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/1848: g++ cannot compile std::ostream_iterator<std::pair<int, int> >
- To: cshihpin at dso dot org dot sg, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, pme at gcc dot gnu dot org
- Subject: Re: c++/1848: g++ cannot compile std::ostream_iterator<std::pair<int, int> >
- From: pme at gcc dot gnu dot org
- Date: 10 Oct 2001 20:56:01 -0000
Synopsis: g++ cannot compile std::ostream_iterator<std::pair<int, int> >
Responsible-Changed-From-To: unassigned->pme
Responsible-Changed-By: pme
Responsible-Changed-When: Wed Oct 10 13:56:00 2001
Responsible-Changed-Why:
Because.
State-Changed-From-To: analyzed->closed
State-Changed-By: pme
State-Changed-When: Wed Oct 10 13:56:00 2001
State-Changed-Why:
Duplicate of PR 4051. The workaround/fix is to enclose
the definition of your op<< in namespace std (as a
specialization, doing so is allowed). Making this change
in your code works under 3.0.2 prerelease.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1848&database=gcc