[libcxx-commits] [libcxx] [libc++] Fix naming of value template parameters (PR #76888)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 4 08:57:34 PST 2024


================
@@ -137,9 +137,9 @@ struct __maybe_static_array {
   // static mapping of indices to the position in the dynamic values array
   using _DynamicIdxMap = __static_partial_sums<static_cast<size_t>(_Values == _DynTag)...>;
 
-  template <size_t... Indices>
-  _LIBCPP_HIDE_FROM_ABI static constexpr _DynamicValues __zeros(index_sequence<Indices...>) noexcept {
-    return _DynamicValues{((void)Indices, 0)...};
+  template <size_t... __indices>
----------------
mordante wrote:

What does the wording look like? I expect `Indices`. I think we have several cases of `_indices __indices` in our code base.

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


More information about the libcxx-commits mailing list