https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526

--- Comment #27 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to rguent...@suse.de from comment #26)
> std::aligned_storage<T> has the requirement of a POD type T.  So I
> wondered about whether the intent was to make copying it by plain
> assignment possible.  Using std::memcpy() on the object would always
> work at least as that is documented for POD types.

It means that the aligned_storage<N>::type must be a POD type, not that you can
only store POD types in such buffers.

Reply via email to