Fix: kh_hash_equal was not instantiating for char* keys#4
Fix: kh_hash_equal was not instantiating for char* keys#4n8sh wants to merge 1 commit intoblachlylab:masterfrom
Conversation
|
Thank you @n8sh -- will be happy to accept this PR if you can explain to me why it works =) In my D code generally I have purposefully avoided qualifying function parameters with
Would adding a template constraint https://dlang.org/phobos/std_traits.html#.PointerTarget Thanks again for your help -- will look at your other PR later today |
Harder than explaining why it works would be to explain why the template doesn't work without it. Even if the compiler wasn't trying to do anything clever it seems like
Yes that would work too, it's just a matter of preference. |
|
@n8sh OK I've got it. In this case the compiler is treating qualifying the function parameters as Function call at line 260 takes |
|
The semantics of |
No description provided.