https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119721
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tomasz Kaminski <[email protected]>: https://gcc.gnu.org/g:5a4f430006efeb58461402054e29b5ac5bd5ac5b commit r16-4551-g5a4f430006efeb58461402054e29b5ac5bd5ac5b Author: Osama Abdelkader <[email protected]> Date: Mon Oct 20 18:16:52 2025 +0300 libstdc++: Add comparison operators between tuple<> and array<T, 0> [PR119721] This fixes the C++23 compliance issue where std::tuple<> cannot be compared with other empty tuple-like types such as std::array<T, 0>. The operators correctly allow comparison with array<T, 0> even when T is not comparable, because empty tuple-like types don't compare element values. PR libstdc++/119721 libstdc++-v3/ChangeLog: * include/std/tuple (tuple<>::operator==, tuple<>::operator<=>): Define. * testsuite/23_containers/tuple/comparison_operators/119721.cc: New test. Reviewed-by: Jonathan Wakely <[email protected]> Reviewed-by: Tomasz KamiÅski <[email protected]> Signed-off-by: Osama Abdelkader <[email protected]>
