This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/1848: g++ cannot compile std::ostream_iterator<std::pair<int, int> >


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]