aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/regex
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2013-07-31 00:20:06 +0000
committerTim Shen <timshen@gcc.gnu.org>2013-07-31 00:20:06 +0000
commitabf1719efeb6782e8a596ecbc36557890c688582 (patch)
tree6f28f5904f81a6e7ffe2c420956997e9b71741ff /libstdc++-v3/include/std/regex
parentdaaf92f822d175ccebb66ae96caa193b1801a503 (diff)
downloadgcc-abf1719efeb6782e8a596ecbc36557890c688582.zip
gcc-abf1719efeb6782e8a596ecbc36557890c688582.tar.gz
gcc-abf1719efeb6782e8a596ecbc36557890c688582.tar.bz2
Thompson matcher refactored.
2013-07-31 Tim Shen <timshen91@gmail.com> Thompson matcher refactored. Fix grouping problem. * include/bits/regex.h: Use a dispatcher _M_get_matcher(). * include/bits/regex_compiler.h: Tweak for auto switching. * include/bits/regex_grep_matcher.h: Class structure. * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson matcher) refactoring. * include/bits/regex_nfa.h: Change _Results's interfaces. * include/std/regex: Includes <map> and <queue>. * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: For both matchers. * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: For both matchers. * testsuite/28_regex/algorithms/regex_match/extended/ string_dispatch_01.cc: New. From-SVN: r201358
Diffstat (limited to 'libstdc++-v3/include/std/regex')
-rw-r--r--libstdc++-v3/include/std/regex2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/std/regex b/libstdc++-v3/include/std/regex
index 907f5bb..b0918ed 100644
--- a/libstdc++-v3/include/std/regex
+++ b/libstdc++-v3/include/std/regex
@@ -44,6 +44,8 @@
#include <iterator>
#include <locale>
#include <memory>
+#include <map>
+#include <queue>
#include <set>
#include <sstream>
#include <stack>