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]
Other format: [Raw text]

Re: libstdc++/8529: wontcompile copy() of map to ostream_iterator


Synopsis: wontcompile copy() of map to ostream_iterator

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Nov 11 09:50:53 2002
State-Changed-Why:
    Your op<< is in the global namespace, but at the place where
    it is used (inside std::copy and the ostream_iterator), only
    operators in namespace std are looked up because both operands
    are in namespace std. There are several other instances
    of this bug/feature in the database.
    
    You can work around the problem by putting the op<< into
    namespace std.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8529


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