Cameleon: Stricter Alternative Implementation of VariantN
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 22 05:54:46 PDT 2015
You can generate a union from allowed types, it will make copies
type safe too, sort of set!(staticIndexOf(T,
AllowedTypes))(rhs)... hmm... can it be an overload?
More information about the Digitalmars-d-learn
mailing list