This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PR 4051
On Wed, Aug 22, 2001 at 11:51:23PM +0100, Jason Merrill wrote:
> >>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
> > But yeah, simply surrounding the op<< in the example code with 'namespace std
> > {' and '}' allows the code to compile cleanly, even though the function isn't
> > a template specialization (and thus has no business being in std). Weird.
>
> It is a specialization of sorts...
Let me ask this, then: /should/ the code given in the PR work? I find
it very counter-intuitive to treat the op<< like a specialization.
Phil
--
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
- anonymous Egyptian scribe, c.1700 BC