public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6709] libstdc++: Remove unused std::pair helper function
@ 2022-01-19 1:03 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-01-19 1:03 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:72ce3fd2c72825c73ba6febae5aeb5c189f3f62c
commit r12-6709-g72ce3fd2c72825c73ba6febae5aeb5c189f3f62c
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jan 18 21:21:47 2022 +0000
libstdc++: Remove unused std::pair helper function
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.
Diff:
---
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-19 1:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 1:03 [gcc r12-6709] libstdc++: Remove unused std::pair helper function Jonathan Wakely
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).