Weird template instantiation problem

Arafel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 13 00:16:53 PDT 2017


Well, I had kind of found a workaround (changing the return type to 
return the element and not the index) which I didn't like too much (what 
if there are duplicates?).

Now that I've found a "proper" workaround.... well, I'm still interested 
in knowing the reason, if possible, or if it's a bug.

On 06/12/2017 09:49 PM, ketmar wrote:
> yeah, sorry for not proposing a workaround: i thought that you already 
> did it, and now you're just interested why the original code doesn't 
> work. ;-)
> 
> i think that this is a bug (or, rather, unimplemented feature).



More information about the Digitalmars-d-learn mailing list