[libcxx-commits] [libcxx] [libc++][ranges][abi-break] Fix `movable_box` overwriting memory of data that lives in the tail padding (PR #71314)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 5 14:53:21 PST 2023
timsong-cpp wrote:
You don't need the `memset` for the assert to fail - since `construct_at` performs value-initialization in that case, the memset will fail as long as value-initialization for the class performs zero-initialization (i.e., if the class has a non-user-provided default constructor).
https://github.com/llvm/llvm-project/pull/71314
More information about the libcxx-commits
mailing list