home bbs files messages ]

Just a sample of the Echomail archive

COMPLANC:

<< oldest | < older | list | newer > | newest >> ]

 Message 242,844 of 243,097 
 highcrew to Waldek Hebisch 
 Re: function pointer question 
 06 Jan 26 21:44:00 
 
From: high.crew3868@fastmail.com

On 1/6/26 3:50 PM, Waldek Hebisch wrote:
> Well, '(void)*foo' effectively says "foo" is not a null pointer
> (otherwise if would be undefined behaviour).  Good optimizer
> will_not_ dereference foo, but keep information for further
> use.

Hehe, now that I understand more of UB, that is correct, but
I don't think you can *rely* on the optimizer behavior, can you?

--
High Crew

--- SoupGate-Win32 v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca