Yes, right, thank you, why reinventing the wheel when the std does the things you want :) On Fri, Jan 27, 2012 at 1:05 PM, Daniel Murphy <yebblies at nospamgmail.com> wrote: > Have you looked at std.variant? It sounds like what you're looking for. > >