Template error on compiling ...

anonymous anonymous at example.com
Fri Feb 28 11:42:46 PST 2014


On Friday, 28 February 2014 at 19:33:17 UTC, Robin wrote:
> opCall(ref Matrix!() m)
>
> opCall(ref Matrix!T m)
>
> aswell as
>
> opCall(ref Matrix!(m))

This one's just nonsense.

> or just
>
> opCall(ref Matrix m)

This one gives you the "used as a type" kind of error message.

> give me all the same error as the one stated in the first post 
> ... :/

You're probably looking in the wrong place (for that particular
error message).

neoLab/core/ElementalOperation.d, line 6, and
neoLab/core/SwapRowsOperation.d, line 18,
are the spots the compiler complains about (so far).

> module neoLab.core.ScaleRowOperation;
suggests that you're looking at neither of those two files. You 
still have to fix it there, too, though.


More information about the Digitalmars-d-learn mailing list