Undefined behaviours in D and C
Pelle
pelle.mansson at gmail.com
Mon Apr 19 07:09:54 PDT 2010
On 04/19/2010 11:47 AM, Fawzi Mohamed wrote:
> no the opposite is safe (pointer -> size_t) but there is no way
> size_t->pointer can be safe...
Michel Fortin wrote:
> So you shouldn't be able to *cast a value to a pointer*. The reverse,
> casting a pointer to a value, makes sense in my opinion:
On 04/18/2010 02:46 PM, Walter Bright wrote:
> *These* are allowed in safe functions.
(emphasis mine)
I was trying to visualize a point.
More information about the Digitalmars-d
mailing list