[Patch] regex_iterator and regex_token_iterator implementation

Jonathan Wakely jwakely.gcc@gmail.com
Tue Jul 23 11:48:00 GMT 2013


On 23 July 2013 10:18, Tim Shen wrote:
>
> Are other parts ok? Could you please look at them?

In regex_token_iterator::_M_init the for loop could be replaced with
either for (auto __i : subs) or a call to std::find, which wouldn't
need the cast to int, but that's just stylistic and a matter of taste.

With the uglified names restored the patch is good to commit, thanks very much.



More information about the Libstdc++ mailing list