https://gcc.gnu.org/g:ab3a30eeb2f70baf07f5710b529d5103b0541dd6

commit r17-6234-gab3a30eeb2f70baf07f5710b529d5103b0541dd6
Author: Jonathan Wakely <[email protected]>
Date:   Thu Nov 12 16:50:33 2026 +0000

    libstdc++: Avoid '_T' name as template argument in a comment
    
    This is a forbidden name that shows up as a false positive when I grep
    for uses of _T in the headers. Change it to just 'T'.
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/regex.h (basic_regex::assign(I, I, * flag_type)):
            Tweak comment to use T instead of _T.

Diff:
---
 libstdc++-v3/include/bits/regex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/regex.h 
b/libstdc++-v3/include/bits/regex.h
index dce420251db0..92aa6ec2210b 100644
--- a/libstdc++-v3/include/bits/regex.h
+++ b/libstdc++-v3/include/bits/regex.h
@@ -733,7 +733,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
              __glibcxx_requires_valid_range(__first, __last);
              if constexpr (is_pointer_v<_InputIterator>)
                _M_compile(__first, __last, __flags);
-             else // __normal_iterator<_T*, C>
+             else // __normal_iterator<T*, C>
                _M_compile(__first.base(), __last.base(), __flags);
            }
          else

Reply via email to