"David B. Held" <[EMAIL PROTECTED]> writes:

| "Gabriel Dos Reis" <[EMAIL PROTECTED]> wrote in message
| [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| > [...]
| > What do mean exactly by a "valid Foo*"?
| 
| I mean that reinterpret_cast<> may legally map what you think ought
| to be a Foo* in a T* to a value that does not point to any Foo object.

But then, dereferencing the value obtained after

   char* -> void* -> Foo*

may just reformat the hard drive.

| At least, that is my understanding of 5.2.10/3.

Agreed.

-- Gaby
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to