[Bug libstdc++/64680] basic_regex::operator= does not reset flags

timshen at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 22 05:07:00 GMT 2015


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

--- Comment #1 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Thu Jan 22 05:07:03 2015
New Revision: 219987

URL: https://gcc.gnu.org/viewcvs?rev=219987&root=gcc&view=rev
Log:
    PR libstdc++/64680
    * include/bits/regex.h (basic_regex<>::basic_regex,
    basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
    standard interface.
    * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/regex.h
    trunk/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc



More information about the Gcc-bugs mailing list