Is it a Variant?

Steve Teale steve.teale at britseyeview.com
Sat Oct 8 21:11:24 PDT 2011


I think I remember seeing that std.variant is being updated.

Is there some way that an efficient test could be slipped in there that
would work in templates. The best my fuzzy brain can come up with this
morning is not wonderful:

(typeof(target).stringof.indexOf("VariantN!(maxSize)") == 0)

Steve


More information about the Digitalmars-d mailing list