David Abrahams wrote: [...]
> look:
>
> {
> aligned_storage<T>::type storage;
>
> new ((void*)&storage) T(x, y, z); // throws
>
> // ~aligned_storage<T>() destroys non-existent T
> }
What will happen to a normal type then?
{
T storage = T(x, y, z); // throws
// storage.~T() destroys non-existent T
}
Philippe A. Bouchard
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
