[libcxx-commits] [libcxx] [libcxx] implement LWG4148: unique_ptr::operator* should not allow dangling references (PR #128213)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 6 20:48:42 PDT 2026
================
@@ -0,0 +1,26 @@
+//===----------------------------------------------------------------------===//
----------------
frederick-vs-ja wrote:
I believe we should either move the contents into
`libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/dereference.verify.cpp`, or rename this file to `libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/dereference.temporary.verify.cpp` (or something like; which wouldn't discard coverage for frozen C++03 headers in `dereference.verify.cpp`).
The contents should be in the `libcxx/test/std/` subdirectory, as we're testing standard requirements.
https://github.com/llvm/llvm-project/pull/128213
More information about the libcxx-commits
mailing list