T
tom_usenet
Not even as void?
This is illegal, even though it isn't dereferenced:
void* p = :perator new(1);
:perator delete(p);
void* q = p; // boom
You aren't allowed to convert a pointer to an rvalue after deleting
it. You can of course reassign it:
p = 0; //or whatever.
Tom