[Issue 2074] Variant arithmetic operations fail
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 6 16:02:23 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2074
------- Comment #4 from andrei at metalanguage.com 2008-05-06 18:02 -------
I looked into it some more and I think the best engineering solution is to
remove support for right-hand-side operations in Variant.
This would require the occasional explicitness, e.g. Variant(5) - x instead of
5 - x, but I see that as a small disadvantage that avoids a hecatomb of
bloating in the source.
Please advise.
--
More information about the Digitalmars-d-bugs
mailing list