Andrei Alexandrescu:

* The representation is built on Algebraic,

Good.

But here I'd like a little more readable type:

alias Payload = std.variant.VariantN!(16LU, typeof(null), bool, double, string, Value[], Value[string]).VariantN;

Like:

alias Payload = std.variant.Algebraic!(typeof(null), bool, double, string, Value[], Value[string]);

Bye,
bearophile

Reply via email to