This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]