NULL indicator in Variant

Steve Teale steve.teale at britseyeview.com
Thu Oct 27 12:00:31 PDT 2011


On Thu, 27 Oct 2011 18:35:19 +0000, kennytm wrote:

> Just store a std.typecons.Nullable!T in the Variant.

Mmm - works to some extent, but by the time you'd wrapped it to make the 
semantics half comprehensible I think it would have been better to simply 
wrap VariantN to add an extra bool.

Steve



More information about the Digitalmars-d mailing list