This is the mail archive of the gcc-bugs@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++/4051: template instantiation problem with ostream_iterator and pair of buil


Synopsis: template instantiation problem with ostream_iterator and pair of buil

Responsible-Changed-From-To: unassigned->pme
Responsible-Changed-By: pme
Responsible-Changed-When: Fri Dec 28 15:08:15 2001
Responsible-Changed-Why:
    I changed it.
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Dec 28 15:08:15 2001
State-Changed-Why:
    Thank you for your bug report.
    
    As mentioned, this is not a bug.  If you specialize an
    entitiy from namespace std, such as op<< taking a pair<>,
    then you must re-open namespace std:
    
    namespace std
    {
        your op<< code;
    }
    
    This is specifically allowed (and required) by the
    standard.

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


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