]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/67361 (std::regex_error::what() should say something about the error_...
authorTim Shen <timshen@google.com>
Sat, 19 Sep 2015 20:56:27 +0000 (20:56 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sat, 19 Sep 2015 20:56:27 +0000 (20:56 +0000)
commit236d76c4a9d180ad90cbba30d34236e19f37d609
treea75c02faf1d6677e09033990847b555605e6436b
parentb8b71bc0d8ae11dcf3e9d6b69ac6f7940ddfeb8d
re PR libstdc++/67361 (std::regex_error::what() should say something about the error_code)

PR libstdc++/67361
* include/bits/regex_error.h: Add __throw_regex_error that
supports string.
* include/bits/regex_automaton.h: Add more specific exception
messages.
* include/bits/regex_automaton.tcc: Likewise.
* include/bits/regex_compiler.h: Likewise.
* include/bits/regex_compiler.tcc: Likewise.
* include/bits/regex_scanner.h: Likewise.
* include/bits/regex_scanner.tcc: Likewise.

From-SVN: r227936
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_automaton.h
libstdc++-v3/include/bits/regex_automaton.tcc
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/include/bits/regex_compiler.tcc
libstdc++-v3/include/bits/regex_error.h
libstdc++-v3/include/bits/regex_scanner.tcc