"Eric Woodruff" <[EMAIL PROTECTED]> wrote in message asli92$oqn$[EMAIL PROTECTED]">news:asli92$oqn$[EMAIL PROTECTED]... > [...] > > > > holder<Foo> h; > > > > new (h.storage) Foo; > [...] > So the type really is of Foo, > [...]
No, the type really is char[sizeof(T)] converted to char* const. Since the pointer never was Foo*, I don't believe reinterpret_cast<> is obliged to give you a valid Foo*. Dave _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost