Algebraic changing type when in associative array
rous
email at example.com
Tue Feb 4 11:55:34 UTC 2020
On Tuesday, 4 February 2020 at 11:47:49 UTC, rikki cattermole
wrote:
> It did not change type.
>
> "Algebraic data type restricted to a closed set of possible
> types. It's an alias for VariantN with an
> appropriately-constructed maximum size."
>
> https://dlang.org/phobos/std_variant.html#.Algebraic
Okay, that makes sense. However, shouldn't it still be the same
Algebraic type, and thus an alias for a VariantN with the same
maximum size?
More information about the Digitalmars-d-learn
mailing list