PR c++/8279: ostream_iterator problems

Joe Buck jbuck@synopsys.com
Fri Oct 18 17:23:00 GMT 2002


Can someone take a look to see what's going wrong for PR 8279, which makes
ostream_iterator<T> unusable if T is a pair?  It looks like a frontend
bug, but conceivably this could be a libstdc++-v3 bug (though I doubt it).

The code works if the ostream_iterator is replaced, basically, by the
expansion of the copy(v.begin(), v.end(), ostream_iterator(...)), and
the code also works on gcc 2.95.x ("using" directives take care of the
namespace issues).




More information about the Libstdc++ mailing list