Function overloading concern
Derek Parnell
derek at psych.ward
Thu Mar 9 14:21:43 PST 2006
On Thu, 09 Mar 2006 13:36:25 -0800, Sean Kelly wrote:
> Carlos Santander wrote:
>>
>> Does this work?
>>
>> import a;
>> import b;
>>
>> alias a.swap swap;
>> alias b.swap swap;
>
> It does. alias is just too darn flexible for its own good :-)
>
However, this is exactly one of the reasons that alias was invented by
Walter - to explicitly disambiguate identifiers that reside in different
modules.
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
10/03/2006 9:20:29 AM
More information about the Digitalmars-d
mailing list