[Patch, libstdc++/64649] Fix regex_traits::lookup_collatename and regex_traits::lookup_classname

Tim Shen timshen@google.com
Mon Jan 19 23:52:00 GMT 2015


On Mon, Jan 19, 2015 at 3:28 PM, Tim Shen <timshen@google.com> wrote:
> I just noticed that if we want to implement it 100% accurately,
> narrowing down the input string to char string is clearly wrong.

Let me take that back, since [22.4.1.1.2].12 requires that
do_widen(do_narrow(c,0)) == c, which gives us a chance to use narrow
and still be accurate.

I think it'll be a quick fix.


-- 
Regards,
Tim Shen



More information about the Libstdc++ mailing list