[libcxx-commits] [libcxx] [libc++] Tweak how we check constraints on shared_ptr(nullptr_t) (PR #94996)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 13 04:56:27 PDT 2024
alexfh wrote:
Oh, that's not all. Some code also relies on `std::shared_ptr<void>` to work, which also breaks with this commit: https://gcc.godbolt.org/z/xrT6rKxE5
```
std::shared_ptr<void> v;
v.reset(new float[10], std::default_delete<float[]>());
```
https://github.com/llvm/llvm-project/pull/94996
More information about the libcxx-commits
mailing list