[libcxx-commits] [libcxx] [libc++] Deprecate non-standard std::launch::any extension (PR #173397)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 24 00:54:43 PST 2025


================
@@ -434,7 +434,7 @@ struct is_error_code_enum<future_errc::__lx> : public true_type {};
 #    endif
 
 // enum class launch
-_LIBCPP_DECLARE_STRONG_ENUM(launch){async = 1, deferred = 2, any = async | deferred};
+_LIBCPP_DECLARE_STRONG_ENUM(launch){async = 1, deferred = 2, any _LIBCPP_DEPRECATED = async | deferred};
----------------
philnik777 wrote:

Please add a message about this being removed in the future and what to use instead.

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


More information about the libcxx-commits mailing list