[clang-tools-extra] [clang] [lldb] [c++20] P1907R1: Support for generalized non-type template arguments of scalar type. (PR #78041)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 00:57:00 PST 2024


================
@@ -183,6 +183,8 @@ C++ Language Changes
 
 C++20 Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
+- Implemented `P1907R1 <https://wg21.link/P1907R1>` which extends allowed non-type template argument
+  kinds with e.g. floating point values and pointers and references to subobjects.
----------------
cor3ntin wrote:

```suggestion
  kinds with e.g. floating point values and pointers and references to subobjects.
  This feature is still experimental. Accordingly, `__cpp_nontype_template_args` was not updated.
```

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


More information about the cfe-commits mailing list