David Abrahams wrote:

[...]

> Once again, the case was:
>
>     {
>         aligned_storage<T>::type storage;
>
>         new ((void*)&storage) T(x, y, z); // throws
>
>         // ~aligned_storage<T>() destroys non-existent T
>     }
>
> The question is not what happens if aligned_storage<T>::type throws.
> It will never throw, since it is POD.  The question is what happens
> if T throws.
>
> If, as you say, you don't know much about EH, please do a little bit
> of research about how it works before you argue with me on this one
> :-)

Sorry about it.  I'm going back into my books...



Philippe A. Bouchard




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

Reply via email to