This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [Patch, libstdc++] Add specific error message into exceptions


On 12/09/15 01:57 +0000, Tim Shen wrote:
Ok then, let's not appending dynamic location string, but only throw a
string literal pointer.

This looks great, and a *huge* improvement on the current errors even
without more precise location info.

OK for trunk, thanks very much for doing this.




commit fc3343a2c719049620447f6dc20191e2af4895f6
Author: Tim Shen <timshen@google.com>
Date:   Thu Aug 27 21:42:40 2015 -0700

   	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.



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