This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: streambuf/iostream weirdness (bug?)



> Q: is using static_cast<> as mentioned above sane? or is there
> a more appropriate EOF to use?

traits_type::eof()

see chapter 21, strings for more on char_traits

-benjamin


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