Structs can't be zero bytes in size?

Dylan Knutson tcdknutson at gmail.com
Tue Sep 3 14:29:51 PDT 2013


On Tuesday, 3 September 2013 at 20:42:47 UTC, Andrej Mitrovic 
wrote:
> On 9/3/13, Dylan Knutson <tcdknutson at gmail.com> wrote:
>> I tried that, but unfortunately std.variant isn't compatible 
>> with
>> zero sized types:
>
> Please do file this as a bug:
> http://d.puremagic.com/issues/enter_bug.cgi?product=D
>
> If you don't have the time, we'll file it for you. Thanks!

Reported. I didn't realize this wasn't the intended behavior of 
Variant. :-)

http://d.puremagic.com/issues/show_bug.cgi?id=10958


More information about the Digitalmars-d mailing list