This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Qualify standard functions with std:: in stl_algo.h
On Mon, Jun 30, 2003 at 12:06:42AM +0200, Gabriel Dos Reis wrote:
> Nathan Myers <ncm-nospam@cantrip.org> writes:
>
> | > This swap needs not be qualified.
> | I don't agree.
> | Users are certainly allowed to declare a global swap, but if they
>
> You're missing the point. It is not about declaring a global swap --
> because doing so just doesn't solve anything useful. The way to have
> swap work properly is to use ADL, i.e. unqualfied call.
At least, if it is left unqualified, it's no worse than before.
Nathan Myers
ncm-nospam@cantrip.org