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] More redundant NULL pointer checks


Benjamin Kosnik wrote:

Ok, except the sgetc change, don't do this.

Ok, I will revert that bit.

Also, your line breaks are funny:

+      const bool __testeof =
+	traits_type::eq_int_type(__c, traits_type::eof());

Should be:

+ const bool __testeof = traits_type::eq_int_type(__c, + traits_type::eof());

Ok, again. I didn't remember that we don't wrap after the equal sign...

Paolo.


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