UB in D

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 10 06:24:48 PDT 2016


On 07/10/2016 08:25 AM, ketmar wrote:
> On Sunday, 10 July 2016 at 11:49:31 UTC, Andrei Alexandrescu wrote:
>> On 7/10/16 2:29 AM, ketmar wrote:
>>> On Sunday, 10 July 2016 at 02:29:15 UTC, Andrei Alexandrescu wrote:
>>>> Yeah, we'd ideally like very little UB and no UB in safe code.
>>>
>>> no at all. define it, and for other cases raise an error.
>>
>> How do you define use of a pointer after deallocation? -- Andrei
>
> bug. error. big boom.

Great spec :o) -- Andrei



More information about the Digitalmars-d mailing list