3 ms·
Clang, as a non-standard feature, allows you to put a type-id into `_Generic` rather than an expression.
by Conscat 2y ago
Clang, as a non-standard feature, allows you to put a type-id into `_Generic` rather than an expression.
- Conscat 2y agoI am being silenced for speaking the truth! https://github.com/llvm/llvm-project/commit/12728e144994efe84715f4e5dbb8c3104e9f0b5a https://github.com/llvm/llvm-project/commit/12728e144994efe8... https://clang.llvm.org/docs/LanguageExtensions.html#c11-generic-selections https://clang.llvm.org/docs/LanguageExtensions.html#c11-gene...
- ekeane 2y agoPresumably because the article points that out.
- plorkyeran 2y agoYou're being downvoted for very clearly not reading the article as that extension and the fact that it got standardized is what the article is about.
- downvotetruth 2y agoJust be sure to have no regrets.
- deleted 2y ago[deleted]