Templated function as associative array property
bearophileHUGS at lycos.com
Mon Mar 8 10:37:46 PST 2010
> The first error looks like a bug.
Or maybe it's a limit of the compiler, it can even be a desired limit of the syntax. I don't like to write that.
> The second one: I don't know if the template deduction engine is supposed to resolve this.<
I think the answer is positive.
So I suggest you to file two bugs (even if the first one is not a bug, it can be useful to add a note to the D docs that explain this syntax is not allowed).
More information about the Digitalmars-d-learn