[libcxx-commits] [libcxx] [libc++] P3798R1: The unexpected in std::expected (PR #219236)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 28 07:14:32 PDT 2026
================
@@ -0,0 +1,41 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: std-at-least-c++29
+
+// constexpr bool has_error() const noexcept;
+
+#include <cassert>
+#include <concepts>
+#include <expected>
+#include <utility>
----------------
Zingam wrote:
```suggestion
```
Do we need this include? Ditto bellow.
https://github.com/llvm/llvm-project/pull/219236
More information about the libcxx-commits
mailing list