Boost.Iostreams: patch for putback
Hello,
I found a trivial mistake in boost/iostreams/read.hpp
of current CVS HEAD version.
So, I report it.
Thanks
Takeshi Mouri
*** read.hpp.orig Mon May 30 16:30:27 2005
--- read.hpp Sun Jun 19 23:42:40 2005
***************
*** 158,164 ****
{ // gcc 2.95 needs namespace qualification for char_traits.
typedef typename char_type_of<T>::type char_type;
typedef iostreams::char_traits
Takeshi Mouri wrote:
Hello,
I found a trivial mistake in boost/iostreams/read.hpp of current CVS HEAD version. So, I report it.
Thanks
Takeshi Mouri
! return !traits_type::is_eof(t.sputbackc());
! return !traits_type::is_eof(t.sputbackc(c));
Thank! It's fixed now. I guess I'd better add a test case. Jonathan
participants (2)
-
Jonathan Turkanis
-
Takeshi Mouri