[Patch, libstdc++/64302, libstdc++/64303] Fix match_results iterators and regex_token_iterator

Jonathan Wakely jwakely@redhat.com
Mon Dec 15 10:58:00 GMT 2014


On 14/12/14 15:23 -0800, Tim Shen wrote:
>Bootstraped and tested :)
>
>I'm not sure if it's safe to directly backport it to 4.9, since one
>inline function (_M_normalize_result) is added; but at least we can
>manually inline them by copy & paste.

It's OK for trunk and 4.9, without changes.

Code compiled against 4.9.2 that inlines some of the regex code won't
be affected by the added function. Code that doesn't inline the code
will start calling the new function. So it won't hurt and might help.



More information about the Libstdc++ mailing list