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


Ok, except the sgetc change, don't do this. 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());


-benjamin


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