diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2013-11-08 14:30:22 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2013-11-08 14:30:22 +0000 |
commit | 7d9d218516ac5f1004d1b5aef427d11bea1a242c (patch) | |
tree | e51501c90c11733c031c148577d0f0cfcc4a7985 /gcc | |
parent | cb3d1e3e87f97eca6c52f7f49d2218e24c6ec39e (diff) | |
download | gcc-7d9d218516ac5f1004d1b5aef427d11bea1a242c.zip gcc-7d9d218516ac5f1004d1b5aef427d11bea1a242c.tar.gz gcc-7d9d218516ac5f1004d1b5aef427d11bea1a242c.tar.bz2 |
regex_automaton.h (__detail::_State): Split non-dependent parts into new _State_base.
* include/bits/regex_automaton.h (__detail::_State): Split
non-dependent parts into new _State_base.
(__detail::_NFA): Likewise for _NFA_base. Use std::move() to avoid
copies when inserting _MatcherT and _StateT objects.
* include/bits/regex_automaton.tcc: Move member definitions to base
class. Qualify dependent names.
* include/bits/regex_compiler.h (__detail::_Compiler::_M_get_nfa): Make
non-const and use std::move to avoid copying.
* include/bits/regex_compiler.tcc: Likewise.
* include/bits/regex_executor.h (__detail::_Executor::_M_is_word): Use
array, so past-the-end iterator is valid.
From-SVN: r204571
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions