[libcxx-commits] [libcxx] [NFC] Renames a template parameter to avoid clashes with userspace names. (PR #76829)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 3 08:17:05 PST 2024


================
@@ -228,15 +228,15 @@ _LIBCPP_HIDE_FROM_ABI void __store_basic_format_arg(basic_format_arg<_Context>*
   ([&] { *__data++ = __format::__create_format_arg<_Context>(__args); }(), ...);
 }
 
-template <class _Context, size_t N>
+template <class _Context, size_t _Nargs>
----------------
mordante wrote:

This is our typical name for these.
```suggestion
template <class _Context, size_t _Np>
```

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


More information about the libcxx-commits mailing list