Go, D, and the GC
Meta via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 7 12:42:35 PDT 2015
On Wednesday, 7 October 2015 at 18:38:34 UTC, Timon Gehr wrote:
> On 10/07/2015 04:13 PM, Meta wrote:
>> On Wednesday, 7 October 2015 at 09:59:05 UTC, Timon Gehr wrote:
>>> struct S{
>>> @disable this();
>>> @disable enum init=0;
>>> }
>>>
>>> void main(){
>>> S s; // error
>>> auto d=S.init; // error
>>> }
>>
>> That's just awful.
>
> I was responding to:
Yeah, I was just expressing my disgust that D allows this.
More information about the Digitalmars-d
mailing list