public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4051: template instantiation problem with ostream_iterator and pair of buil
@ 2001-12-28 15:08 pme
0 siblings, 0 replies; only message in thread
From: pme @ 2001-12-28 15:08 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, ola, pme
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-28 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-28 15:08 libstdc++/4051: template instantiation problem with ostream_iterator and pair of buil pme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).