std.jgrandson

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 3 07:33:25 PDT 2014


On 8/3/14, 1:19 AM, bearophile wrote:
> 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]);

Yah, the latter is in the code. It's a ddoc problem. -- Andrei




More information about the Digitalmars-d mailing list