Blog Post: Beating std::visit Without Really Trying
tobias at pankrath.net
Sun Oct 6 08:27:27 UTC 2019
On Sunday, 6 October 2019 at 00:52:38 UTC, Andrei Alexandrescu
>> Anyhow, currently we would have to name it differently (e.g.
>> dts - https://github.com/wilzbach/dts). Maybe the upcoming
>> SAoC project will change this and allow multiple versions of a
>> library to co-exist in a binary.
> Adding it as a new facility is a possibility, but only if the
> challenges of keeping the existing interface are too large.
I just want to chime in as a returning D user, who stumbled upon
Nullable, Typedef and Algebraic.
I think is is important to have high quality and well supported
versions of these kinds of type constructors in the standard
library, because to really shine support for them has to be
pervasive. I could roll my own (or use some package from
code.dlang.org), but one of the key features have to be that they
'just work'. I want to std.conv.to them , use them in a json
serialization library out of the box, etc, etc.
More information about the Digitalmars-d-announce