diff options
author | Tim Shen <timshen@google.com> | 2015-07-30 10:35:45 +0000 |
---|---|---|
committer | Tim Shen <timshen@gcc.gnu.org> | 2015-07-30 10:35:45 +0000 |
commit | 81b7ff079a2851d5f5d3b3a01d18c3af2e165da4 (patch) | |
tree | 35b1028b25f85381df4bc25af72e1c025f3455de /libstdc++-v3/include/std/regex | |
parent | 15827d124af737d95f4b728d5980f65c5d9bc9b9 (diff) | |
download | gcc-81b7ff079a2851d5f5d3b3a01d18c3af2e165da4.zip gcc-81b7ff079a2851d5f5d3b3a01d18c3af2e165da4.tar.gz gcc-81b7ff079a2851d5f5d3b3a01d18c3af2e165da4.tar.bz2 |
regex_automaton.h (_State_base, _State<>): Remove _TraitsT dependency from _State<>...
* include/bits/regex_automaton.h (_State_base, _State<>):
Remove _TraitsT dependency from _State<>; Make matcher member
into the union to reduce struct size.
* include/bits/regex_automaton.tcc (_State_base<>::_M_print,
_State_base<>::_M_dot, _StateSeq<>::_M_clone):
Adjust to fit the interface. Factor out common parts in
_M_clone as _State<>::_M_has_alt.
* include/bits/regex_executor.h (_Executer<>::_M_lookahead):
Only pass state id instead of the whole state.
* include/bits/regex_executor.tcc (_Executer<>::_M_dfs,
_Executer<>::_M_lookahead): Adjust to fit the interface.
* include/std/regex: Include <ext/aligned_buffer.h>
From-SVN: r226395
Diffstat (limited to 'libstdc++-v3/include/std/regex')
-rw-r--r-- | libstdc++-v3/include/std/regex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/include/std/regex b/libstdc++-v3/include/std/regex index 3dff372..b6fe4c7 100644 --- a/libstdc++-v3/include/std/regex +++ b/libstdc++-v3/include/std/regex @@ -53,6 +53,7 @@ #include <map> #include <cstring> +#include <ext/aligned_buffer.h> #include <bits/regex_constants.h> #include <bits/regex_error.h> #include <bits/regex_automaton.h> |