This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] char_traits error checking
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 12 Mar 2002 11:59:05 -0800 (PST)
- Subject: Re: [v3] char_traits error checking
> Instead of
>
> __throw_logic_error("attempt to create string with null value");
>
> I recommend
>
> __throw_invalid_argument("attempt to create string with null pointer");
Yep. Better, thanks.
I'll check this in later today.