[Patch] Qualify standard functions with std:: in stl_algo.h

Nathan Myers ncm-nospam@cantrip.org
Sun Jun 29 22:27:00 GMT 2003


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



More information about the Libstdc++ mailing list