[Bug libstdc++/100992] Wrong result for is_constructible for const ref of tuple of tuples

tkaminsk at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 24 12:26:28 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100992

Tomasz Kamiński <tkaminsk at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #9 from Tomasz Kamiński <tkaminsk at gcc dot gnu.org> ---
The constrains on `std::tuple` constructor requires check that lead to
constrains recursion: is_constructible_v<F, const tuple<tuple<F>>&> depends on
result of is_constructible_v<F, const tuple<tuple<F>>&>.

The behavior of constructing F out ouf const tuple<tuple<F>>& matches the
is_constructible_v result since GCC11.4.


More information about the Gcc-bugs mailing list