On Thu, 27 Oct 2011 10:16:26 -0400, Alex Rønne Petersen <[email protected]> wrote:
On 27-10-2011 15:50, Steve Teale wrote:Surely Variant.init should do the trick?Dmitry, Are you talking about the new std.variant - I don't see 'init' currently. SteveHe is probably referring to the 'init' property on the *type*, i.e. int.init and so on. - Alex
Init is a built-in property of all types and for Variant (both new and old) setting a variant to its init will cause it to have no value.
