What did you think about an implicitConversionOp ?
Q. Schroll
qs.il.paperinik at gmail.com
Sun Dec 27 13:39:23 UTC 2020
On Sunday, 27 December 2020 at 09:27:05 UTC, Walter Bright wrote:
> I'm speaking here from C++'s experience.
> [..]
> 3. operator overloading for non-arithmetic purposes
I'd say, <, > and == aren't arithmetic operators, &, ^, and |,
too, but one could disagree. Same for array dereferencing,
indexing or getting an address. However, array concatenation with
~ for sure isn't arithmetic.
More information about the Digitalmars-d
mailing list