Struct with default ctor (Was: [dmd-beta] dmd 2.064 beta take 2)

Walter Bright newshound2 at digitalmars.com
Sat May 18 13:39:29 PDT 2013


On 5/18/2013 1:22 PM, deadalnix wrote:
> Many are, but I think that isn't the point we are discussing here.
>
> Removing all holes in @disable this will require the same sacrifices at the ends
> than default constructor would. For isntance, what should happen in this case :
>
> S[] ss;
> ss.length = 42;
>
> if S has @disable this ?

Already reported:

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


More information about the Digitalmars-d mailing list