libstdc++: Add workaround for weird std::tuple error [PR 96592]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Sep 2020 15:26:16 +0000 (16:26 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 3 Sep 2020 15:26:16 +0000 (16:26 +0100)
commit032a4b42cc5f2105f622690ce2552f1c30e1d227
tree489f5808cf47903d4fd52bceceaaaf97e70db43b
parent3c219134152f645103f2fcd50735b177ccd76cde
libstdc++: Add workaround for weird std::tuple error [PR 96592]

This "fix" makes no sense, but it avoids an error from G++ about
std::is_constructible being incomplete. The real problem is elsewhere,
but this "fixes" the regression for now.

libstdc++-v3/ChangeLog:

PR libstdc++/96592
* include/std/tuple (_TupleConstraints<true, T...>): Use
alternative is_constructible instead of std::is_constructible.
* testsuite/20_util/tuple/cons/96592.cc: New test.
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/96592.cc [new file with mode: 0644]