[Bug libstdc++/63199] Inserting std::wregex to std::vector loses some std::wregex values

timshen at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 2 16:51:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63199

--- Comment #4 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Thu Oct  2 16:50:39 2014
New Revision: 215805

URL: https://gcc.gnu.org/viewcvs?rev=215805&root=gcc&view=rev
Log:
    PR libstdc++/63199
    * include/bits/regex.h (basic_regex::basic_regex, basic_regex::assign,
    basic_regex::swap): Fix dangling _M_traits reference problem.
    * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc:
    New test case.

Added:
   
branches/gcc-4_9-branch/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc
Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex.h



More information about the Gcc-bugs mailing list