[Patch] Reimplment regex matcher using DFS
Paolo Carlini
paolo.carlini@oracle.com
Tue Jul 23 13:42:00 GMT 2013
On 07/23/2013 03:07 PM, Tim Shen wrote:
> + inline
> + bool _Grep_matcher::
> + _M_dfs_match()
> + { return _M_dfs<true>(_M_nfa->_M_start()); }
> +
> + inline
> + bool _Grep_matcher::
> + _M_dfs_search_from_first()
> + { return _M_dfs<false>(_M_nfa->_M_start()); }
This doesn't make much sense to me: if the functions are inside a *.tcc
file why are marked inline? First blush seem indeed good candidates for
inline, but then should be in the *.h
Paolo.
More information about the Libstdc++
mailing list