On 6/16/07, michael.a <[EMAIL PROTECTED]> wrote:
You are of course free to demonstrate how placement new could circumnavigate the need of unions.
Boost.Variant implements discriminated unions using placement new: http://www.boost.org/doc/html/variant.html Of course, you would have to mimic the techniques it is using and/or change your code to use Boost.Variant. But, since you've relied on an extension to C++, you'll have to change your code to make it portable anyway. - Doug