std.sumtype nested SumTypes
ryuukk_
ryuukk.dev at gmail.com
Mon Jan 22 16:35:39 UTC 2024
On Monday, 22 January 2024 at 16:16:56 UTC, NonNull wrote:
> I am defining a new value type (small struct) from some old
> value types that are already `SumType`s.
>
> So I want to have some `SumType`s as some of the alternative
> types in another `SumType`.
>
> How how efficient this is, including space efficient?
Without knowing what you are doing, this sounds like a bad idea,
i suggest to revise your design
More information about the Digitalmars-d-learn
mailing list