[libcxx-commits] [libcxx] [libc++] Fix the mdspan ElementType complete object type mandate (PR #191703)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Apr 12 18:59:33 PDT 2026
================
@@ -23,6 +23,46 @@ class AbstractClass {
virtual void method() = 0;
};
+struct BadAccessor {
+ using offset_policy = BadAccessor;
----------------
frederick-vs-ja wrote:
Perhaps we should also test the case for an incomplete class type. Now I think it would make more sense to rename this to `VoidAccessor`.
```suggestion
struct VoidAccessor {
using offset_policy = VoidAccessor;
```
https://github.com/llvm/llvm-project/pull/191703
More information about the libcxx-commits
mailing list