|
Boost : |
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2003-03-05 16:20:18
"David Abrahams" <dave_at_[hidden]> wrote in message
news:uznokbhwx.fsf_at_boost-consulting.com...
> 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
> }
You mean "~aligned_storage<T>::type() destroys non-existent T"?
Andrei
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk