[PATCH] For SGI stl_algo.h extensions (was: Re: [RFC] Moving apart SGI extensions)
Phil Edwards
pedwards@disaster.jaj.com
Fri Dec 28 13:20:00 GMT 2001
On Fri, Dec 28, 2001 at 11:40:54AM +0100, Gabriel Dos Reis wrote:
> Both __gnu_cxx:: and std:: are members of the global scope, and names
> from global scope are visible in both std:: or __gnu_cxx::. In order
> words, the code is good as is and no need for "::" prefix.
Okay then. I wasn't certain whether name lookup would search for std::foo
or simply foo, when starting from some other scope. Thanks for clearing
this up.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams
More information about the Libstdc++
mailing list