[libcxx-commits] [libcxx] [libc++] Remove `optional::iterator` from experimental mode (PR #203782)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 7 12:47:23 PDT 2026


================
@@ -54,18 +52,23 @@ constexpr bool test() {
 constexpr bool tests() {
   assert(test<int>());
   assert(test<char>());
+  assert(test<short>());
   assert(test<const int>());
   assert(test<const char>());
   assert(test<int&>());
   assert(test<char&>());
+  assert(test<short&>());
   assert(test<const int&>());
   assert(test<const char&>());
+  assert(test<const short&>());
   return true;
 }
 
 int main(int, char**) {
   assert(tests());
-  static_assert(tests());
+
+  // blocked on constexpr pointer tagging
----------------
ldionne wrote:

```suggestion
  // TODO: blocked on constexpr pointer tagging
```

https://github.com/llvm/llvm-project/pull/203782


More information about the libcxx-commits mailing list