[libcxx-commits] [libcxx] [libc++] Deprecate non-standard std::launch::any extension (PR #173397)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 23 22:16:31 PST 2025
================
@@ -25,19 +25,19 @@
int main(int, char**)
{
#if TEST_STD_VER < 11
- LIBCPP_STATIC_ASSERT(static_cast<int>(std::launch::any) ==
+ LIBCPP_STATIC_ASSERT(static_cast<int>(std::launch::any) == // expected-warning {{'any' is deprecated}}
----------------
sohail103 wrote:
Changed all tests in `libcxx/test/std` that used `std::launch::any` as suggested.
https://github.com/llvm/llvm-project/pull/173397
More information about the libcxx-commits
mailing list