John Yates writes:
> On Mon, Oct 29, 2012 at 2:16 PM, David Engster <deng@...> wrote:
>> Mind you, this only works for pretty simple cases like the one
>> above. Doing this for classes like Boost smart pointers will probably
>> not work, but for other reasons than the overloaded -> operator.
> Would that be lack of support for Argument Dependent Name Lookup
> (a.k.a Koenig lookup,
Funny thing is: if you copy&paste that first example on that wiki page,
you'll see that Semantic will show you the correct definition of
'f'. That of course is simply because Semantic will resort to pretty
much everything if it cannot find something in the current scope. We do
not have an explicit ADL implementation.
The usual reason why Semantic cannot parse stuff in the STL or Boost is
because of moderate template trickery, like (partial) template
specializations or the 'rebind' idiom used for allocators. This for
example is the reason why Semantic cannot properly dereference the
-operator of the vector class.