[libcxx-commits] [libcxx] [libc++] Deprecate non-standard std::launch::any extension (PR #173397)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 24 01:43:18 PST 2025
================
@@ -102,6 +102,8 @@ Improvements and New Features
Deprecations and Removals
-------------------------
+- Non-conforming extension ``launch::any`` is deprecated. It will be removed in LLVM 23.
----------------
frederick-vs-ja wrote:
> What makes you think it's non-conforming? "non-conforming" means our implementation doesn't follow the standard somehow, or IoW the standard says something that we don't follow. There has to be some wording somewhere that forbids this for it to be non-conforming.
>
> Also, IMO "non-conforming" is not something to be thrown around when you're not sure. That makes it sound like we have conformance problems all over the place when that's not at all true.q
Oh, I'm sorry. I used to think that an enumeration isn't allowed to provide additional pretty enumerator names as the difference is observable. Although the "implementation-defined" part possibly allows us to use pretty names as long as they're reserved (and `any` can be fine due to `bitset::any` and later `std::any`).
> re. completing the paper, I don't see what we didn't complete. All the new names are provided.
IIUC removal of `launch::any` was part of the intent of that paper, because the meaning of that name was not clear.
https://github.com/llvm/llvm-project/pull/173397
More information about the libcxx-commits
mailing list