From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: [committed] libstdc++: Remove unused std::pair helper function
Date: Wed, 19 Jan 2022 01:04:15 +0000 [thread overview]
Message-ID: <20220119010415.3865607-1-jwakely@redhat.com> (raw)
Tested powerpc64le-linux. pushed to trunk.
This function is no longer used since r12-6691 and can be removed.
libstdc++-v3/ChangeLog:
* include/bits/stl_pair.h (_PCC::_DeprConsPair): Remove unused
function.
---
libstdc++-v3/include/bits/stl_pair.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/libstdc++-v3/include/bits/stl_pair.h b/libstdc++-v3/include/bits/stl_pair.h
index 8564fd1ae9e..0eb78345ca4 100644
--- a/libstdc++-v3/include/bits/stl_pair.h
+++ b/libstdc++-v3/include/bits/stl_pair.h
@@ -128,20 +128,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
return __and_<is_convertible<_U1&&, _T1>,
is_convertible<_U2&&, _T2>>::value;
}
-
- template <bool __implicit, typename _U1, typename _U2>
- static constexpr bool _DeprConsPair()
- {
- using __do_converts = __and_<is_convertible<_U1&&, _T1>,
- is_convertible<_U2&&, _T2>>;
- using __converts = __conditional_t<__implicit,
- __do_converts,
- __not_<__do_converts>>;
- return __and_<is_constructible<_T1, _U1&&>,
- is_constructible<_T2, _U2&&>,
- __converts
- >::value;
- }
};
template <typename _T1, typename _T2>
--
2.31.1
reply other threads:[~2022-01-19 1:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220119010415.3865607-1-jwakely@redhat.com \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).