]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove workaround for FE bug in std::tuple [PR96592]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 17:46:47 +0000 (17:46 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 22:26:08 +0000 (22:26 +0000)
The FE bug was fixed, so we don't need this workaround now.

libstdc++-v3/ChangeLog:

PR libstdc++/96592
* include/std/tuple (tuple::is_constructible): Remove.

libstdc++-v3/include/std/tuple

index 36dc05d97bc980129519c6fc0f66ff36813d5439..fa9ff17882bcfb9e29e051413c10443ddc43b2bb 100644 (file)
@@ -553,10 +553,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   template<bool, typename... _Types>
     struct _TupleConstraints
     {
-      template<typename _Tp, typename _Up> // Workaround for PR 96592
-       using is_constructible
-         = __bool_constant<__is_constructible(_Tp, _Up)>;
-
       // Constraint for a non-explicit constructor.
       // True iff each Ti in _Types... can be constructed from Ui in _UTypes...
       // and every Ui is implicitly convertible to Ti.