[Boost-bugs] [Boost C++ Libraries] #7179: boost:::iostream::inverse doesn't work with char_type other then char

Subject: [Boost-bugs] [Boost C++ Libraries] #7179: boost:::iostream::inverse doesn't work with char_type other then char
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-26 13:37:25


#7179: boost:::iostream::inverse doesn't work with char_type other then char
--------------------------------------+-------------------------------------
 Reporter: mexal@… | Owner: turkanis
     Type: Patches | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.51.0 | Severity: Cosmetic
 Keywords: inverse, char, char_type |
--------------------------------------+-------------------------------------
 See file \boost\iostreams\invert.hpp

 This lines


 {{{
 std::streamsize read(Source& src, char* s, std::streamsize n)
 ...
 std::streamsize write(Sink& dest, const char* s, std::streamsize n)
 }}}


 should be changed with:


 {{{
 std::streamsize read(Source& src, char_type* s, std::streamsize n)
 ...
 std::streamsize write(Sink& dest, const char_type* s, std::streamsize n)
 }}}


 for appropriate handling of unsigned char, for example.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7179>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC