--- Comment #4 from Tomasz SowiƄski <> 2010-03-14 13:58:37 
PDT ---
(In reply to comment #3)
> Is this useful?
> struct Matrix {
>     Matrix opOpAssign(string op, T:real)(T a);
>     Matrix opOpAssign(string op, T:Matrix)(T m);
> }

It is, thanks. Still, it'd be a lot cleaner to do without dummy template
params... Is there some bigger problem that prevents the compiler to look at
both template and runtime params when resolving templated function overloads?
I'm guessing that it currently matches only against template signatures and
bails out upon ambiguity.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to