Templated operator overloading

XavierAP n3minis-git at yahoo.es
Wed Aug 22 13:38:43 UTC 2018


On Wednesday, 22 August 2018 at 13:20:01 UTC, aliak wrote:
>
> "void opOpAssign(string op, T)(ref Tthis, const ref T x)" looks 
> like the wrong signature for opOpAssign.

Oh I'll put on my stupid hat now...

I realize I had copy-pasted the wrong syntax from the global 
function attempt, but I swear I thought I had re-typed and tested 
the right one...

It's working now :)


More information about the Digitalmars-d-learn mailing list