help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to copy map to ostream_iterator?


From: Thomas Maeder
Subject: Re: How to copy map to ostream_iterator?
Date: Wed, 03 May 2006 22:44:51 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"Siegfried" <siegfried@heintze.com> writes:

> Presently, the g++ 3.2 compiler is complaining that it cannot find
> operator<<(ostream, std::pair<string,string>). However, it is present
> and I can call it. So why does not g++ see it when compiling std::copy?

I explained it on comp.lang.c++.moderated. Some operator<< overloads
are found in namespace std before the global namespace is even
considered.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]