From c27b35739d5eaf3e214f639fded1515d72884027 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Thu, 30 Jul 2026 11:17:08 +0200 Subject: [PATCH] [libc++] Remove SFINAE checks in tuple which are always true (#212765) We have a specialization for `tuple` with no arguments, so checking `sizeof...(_Tp) >= 1` in the primary template will never be false. --- libcxx/include/tuple | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libcxx/include/tuple b/libcxx/include/tuple index e1d723ecaf01..158729969288 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple @@ -591,15 +591,14 @@ public: : __base_(allocator_arg_t(), __a, __value_init{}) {} // tuple(const T&...) constructors (including allocator_arg_t variants) - template