Koenig lookup in D?

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Aug 27 06:35:32 PDT 2013


27-Aug-2013 17:33, Dmitry Olshansky пишет:
> 27-Aug-2013 11:45, monarch_dodra пишет:
>> Koenig lookup in C++ ( also known as
>> http://en.wikipedia.org/wiki/Argument-dependent_name_lookup ), is
>> a mechanism that alows functions (in particular templates) to
>> call a function that operates on an object of a specific
>> namespace, without having to qualify the namespace  ...
>
> ADL has a "bug of surprise" written all over it.

*Bag.. though hardly a typo )

> It doesn't work all
> that well in C++ to being with. Even after all these years:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2103.pdf
>


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list