https://gcc.gnu.org/g:93b8d6e4d2a18d624a853b44d23b271ee500c777

commit r16-4645-g93b8d6e4d2a18d624a853b44d23b271ee500c777
Author: Jonathan Wakely <[email protected]>
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 <[email protected]>

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

Reply via email to