Algebraic replacement

Freddy via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 13:31:29 PDT 2015


std.variant's Algebraic 
(https://github.com/D-Programming-Language/phobos/blob/master/std/variant.d) seems very complex for what it's trying to do and is also unsafe.

Is it worth writing a simpler replacement?

Something like this 
https://github.com/Superstar64/tagged_union/blob/master/source/tagged_union.d ?


More information about the Digitalmars-d mailing list