[phobos] enforce() vs. assert() for range primitives

Walter Bright walter at digitalmars.com
Sun Aug 22 14:05:27 PDT 2010


Yeah, I've meant to do that but never got around to it yet.

Andrei Alexandrescu wrote:
> Java solves that problem by limiting object sizes to 64KB. I suggest 
> we do the same.
>
> Andrei
>
> On 08/22/2010 10:03 AM, Michel Fortin wrote:
>> Le 2010-08-22 à 9:42, Andrei Alexandrescu a écrit :
>>
>>> Regarding the null pointer, I don't think it's a memory safety issue 
>>> on systems with memory protection - it's a hard error.
>>
>> That's generally correct. Though there's still a loophole:
>>
>>     <http://d.puremagic.com/issues/show_bug.cgi?id=3677>
>>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
>


More information about the phobos mailing list