re PR libstdc++/64680 (basic_regex::operator= does not reset flags)
authorTim Shen <timshen@google.com>
Thu, 22 Jan 2015 05:07:03 +0000 (05:07 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Thu, 22 Jan 2015 05:07:03 +0000 (05:07 +0000)
commit770acfc9e3753d7b9d4727293ac6f16811fa751f
treeb00ed49b942acb7012c647cf30c9f3a9d17cdbba
parent77033d2668248d1050d27ea57a8e85a1b3740ac8
re PR libstdc++/64680 (basic_regex::operator= does not reset flags)

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.

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