[libcxx-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

Raul Tambre via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 15 10:35:20 PST 2025


================
@@ -973,7 +973,8 @@ def add_version_header(tc):
             "name": "__cpp_lib_move_only_function",
             "values": {"c++23": 202110},
             "headers": ["functional"],
-            "unimplemented": True,
+            "test_suite_guard": "!defined(_LIBCPP_VERSION) || (!defined(TEST_COMPILER_GCC) && defined(_LIBCPP_HAS_EXPERIMENTAL_MOVE_ONLY_FUNCTION))"
----------------
tambry wrote:

Missing a comma.
```suggestion
            "test_suite_guard": "!defined(_LIBCPP_VERSION) || (!defined(TEST_COMPILER_GCC) && defined(_LIBCPP_HAS_EXPERIMENTAL_MOVE_ONLY_FUNCTION))",
```

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


More information about the libcxx-commits mailing list