[libcxx-commits] [libcxx] [libc++] LWG3223 Broken requirements for shared_ptr converting constructors (PR #93071)
Jonathan Wakely via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 12 09:20:02 PDT 2024
jwakely wrote:
It was noted on the reflector that using `[](auto* pointer) { delete pointer; }` works fine, because that deleter gives a substitution error when the `d(nullptr)` constraint is tested, instead of a hard error outside the immediate context.
https://github.com/llvm/llvm-project/pull/93071
More information about the libcxx-commits
mailing list