[libcxx-commits] [libcxx] [libc++][execution] Implement C++26 std::execution set_value, set_error and set_stopped (PR #229095)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 5 23:05:29 PDT 2026
================
@@ -0,0 +1,117 @@
+//===----------------------------------------------------------------------===//
+//
+// 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++26
+// UNSUPPORTED: libcpp-has-no-experimental-execution
+
+// [exec.set.value], [exec.set.error], [exec.set.stopped]
+
+#include <execution>
+
+#include <cassert>
+#include <type_traits>
+#include <utility>
----------------
emmett2020 wrote:
Done, thx
https://github.com/llvm/llvm-project/pull/229095
More information about the libcxx-commits
mailing list