This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PR c++/8279: ostream_iterator problems


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).



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