[libcxx-commits] [libcxx] [libc++][memory] LWG4148: `unique_ptr::operator*` should not allow dangling references (PR #214971)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 9 22:38:09 PDT 2026
https://github.com/frederick-vs-ja approved this pull request.
LGTM.
It might be a bit unexpected to apply the restriction in pre-C++23 modes where `reference_converts_from_temporary_v` didn't exist. But this seems decided in the previous PR, and we've been doing similar things in constructors of `tuple` for a long while.
https://github.com/llvm/llvm-project/pull/214971
More information about the libcxx-commits
mailing list