Have you looked at std.variant? It sounds like what you're looking for.
- GC and void* Nicolas Silva
- Re: GC and void* Steven Schveighoffer
- Re: GC and void* Nicolas Silva
- Re: GC and void* Daniel Murphy
- Re: GC and void* Nicolas Silva
Have you looked at std.variant? It sounds like what you're looking for.