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: [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.


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