[gcc r16-7865] libstdc++: Reference C++11 standard more precisely in regex comments
Jonathan Wakely
redi@gcc.gnu.org
Tue Mar 3 12:07:03 GMT 2026
https://gcc.gnu.org/g:f48b1235800939afc3a32c200d177fbf273779c2
commit r16-7865-gf48b1235800939afc3a32c200d177fbf273779c2
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Feb 24 19:49:54 2026 +0000
libstdc++: Reference C++11 standard more precisely in regex comments
libstdc++-v3/ChangeLog:
* include/bits/regex_compiler.h: Adjust comments so that
standard references are specific to C++11.
Diff:
---
libstdc++-v3/include/bits/regex_compiler.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/include/bits/regex_compiler.h b/libstdc++-v3/include/bits/regex_compiler.h
index f90de0a8fc92..167db5e87218 100644
--- a/libstdc++-v3/include/bits/regex_compiler.h
+++ b/libstdc++-v3/include/bits/regex_compiler.h
@@ -53,7 +53,7 @@ namespace __detail
/**
* @brief Builds an NFA from an input iterator range.
*
- * The %_TraitsT type should fulfill requirements [28.3].
+ * The %_TraitsT type should fulfill the requirements in C++11 28.3 [re.req].
*/
template<typename _TraitsT>
class _Compiler
@@ -206,7 +206,7 @@ namespace __detail
const _CtypeT& _M_ctype;
};
- // [28.13.14]
+ // C++11 28.13 [re.grammar] p14
template<typename _TraitsT, bool __icase, bool __collate>
class _RegexTranslatorBase
{
More information about the Libstdc++-cvs
mailing list