safety: null checks

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Tue Nov 24 00:08:57 UTC 2020


On Monday, 23 November 2020 at 20:00:29 UTC, Patrick Schluter 
wrote:
> On Monday, 23 November 2020 at 12:39:05 UTC, Ola Fosheim 
> Grøstad wrote:
>> A trap is an interrupt at the hardware level. It has nothing 
>> to do with C.
>
> Read the C standard, they explain what a trap representation 
> is. It has nothing to do with an interrupt. I refer to the C 
> standard because they make the difference between allowed 
> pointer values and unallowed values even if never dereferenced.

When I intoduced the word "trap" in this discussion I used the 
traditional hardware terminology as used in Motorola 68K 
reference manuals. Has nothing to do with C whatsoever.



More information about the Digitalmars-d mailing list