[libcxx-commits] [libcxx] [libc++] P1789R3: Library Support for Expansion Statements (PR #167184)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Nov 8 23:40:43 PST 2025
================
@@ -67,6 +72,30 @@ _LIBCPP_HIDE_FROM_ABI constexpr void __for_each_index_sequence(index_sequence<_I
}
# endif // _LIBCPP_STD_VER >= 20
+# if _LIBCPP_STD_VER >= 26
+// structured binding support for integer_sequence
+template <typename _Tp, _Tp... _Indices>
----------------
frederick-vs-ja wrote:
I think we conventionally introduce type template parameters with `class` in produce code, as the standard wording consistently uses it in in library part. Ditto below.
```suggestion
template <class _Tp, _Tp... _Indices>
```
https://github.com/llvm/llvm-project/pull/167184
More information about the libcxx-commits
mailing list