lovely compiler error message - incompatible types
Justin Whear via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jul 2 11:00:41 PDT 2015
On Thu, 02 Jul 2015 17:33:28 +0000, Laeeth Isharc wrote:
> FixedDecimal is a fixed decimal point struct that stores values as an
> int or long and takes number of decimal places as the second compile
> term argument. It's possible, if not likely I have made a mistake in
> implementing operator overloads.
>
> Any thoughts on whether this is the likely cause, and if so which ones
> are likely to be the problem?
Can you show the signature for FixedDecimal's opBinary?
More information about the Digitalmars-d-learn
mailing list