[gcc r16-4645] libstdc++: Add typedefs to __gnu_test::test_container utility
Jonathan Wakely
redi@gcc.gnu.org
Mon Oct 27 09:55:21 GMT 2025
https://gcc.gnu.org/g:93b8d6e4d2a18d624a853b44d23b271ee500c777
commit r16-4645-g93b8d6e4d2a18d624a853b44d23b271ee500c777
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Oct 22 00:48:23 2025 +0100
libstdc++: Add typedefs to __gnu_test::test_container utility
libstdc++-v3/ChangeLog:
* testsuite/util/testsuite_iterators.h (test_container): Add
iterator and value_type typedefs.
Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>
Diff:
---
libstdc++-v3/testsuite/util/testsuite_iterators.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index 5bf2e704e843..41fbcaad366a 100644
--- a/libstdc++-v3/testsuite/util/testsuite_iterators.h
+++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h
@@ -674,6 +674,9 @@ namespace __gnu_test
template <class T, template<class TT> class ItType>
struct test_container
{
+ typedef ItType<T> iterator;
+ typedef typename iterator::value_type value_type;
+
typename ItType<T>::ContainerType bounds;
_GLIBCXX_CONSTEXPR
More information about the Libstdc++-cvs
mailing list