This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Minor tweaks to basic_filebuf::underflow
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: pcarlini at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 1 Dec 2003 10:47:23 -0600
- Subject: Re: [v3] Minor tweaks to basic_filebuf::underflow
- Organization: Red Hat / Chicago
Just catching up....
__throw_ios_failure("invalid byte sequence in file");
Should be:
__throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");
All thrown exception strings should begin with the member function
location, if you search for __throw you should see more examples that conform to this.
This was made standard for 3.4, and should probably be documented in
C++STYLE as well.
best,
benjamin