[Patch, libstdc++] Add specific error message into exceptions
Jonathan Wakely
jwakely@redhat.com
Wed Sep 16 17:38:00 GMT 2015
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.
>
More information about the Libstdc++
mailing list