https://issues.dlang.org/show_bug.cgi?id=13352

--- Comment #3 from Sönke Ludwig <[email protected]> ---
Well, "Algebraic!(uint, int, long)" would have worked. The intention of
VariantN definitely is to make all operations transparently available, if you
look at the source code. I also don't see a reason why that would be harmful.
On the other hand, it can be extremely useful.

See for example the new std.data.json proposal, which is the reason for this
bug report. It allows "JSONValue" to be used in a much more convenient way.

--

Reply via email to