This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: std::regex: inserting std::wregex to std::vector loses some std::wregex values


On Tue, Sep 16, 2014 at 5:28 PM, Tim Shen <timshen@google.com> wrote:
> So I'll change the patch to move _M_traits to _NFA, and add a new
> basic_regex::_M_loc member.

Here it is :). Bootstrapped and tested with debug flag.

> Should the abi compatible fix be another patch for branch 4.9? In
> which the move ctor is not noexcept and calls the copy ctor?

I'll make another patch for it.


-- 
Regards,
Tim Shen

Attachment: a.diff
Description: Text document


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