[Boost-bugs] [Boost C++ Libraries] #3723: gzip_docompressor error - basic_array_source no putback member

Subject: [Boost-bugs] [Boost C++ Libraries] #3723: gzip_docompressor error - basic_array_source no putback member
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-06 10:17:36


#3723: gzip_docompressor error - basic_array_source no putback member
--------------------------+-------------------------------------------------
 Reporter: jose | Owner: turkanis
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: iostreams
  Version: Boost 1.41.0 | Severity: Showstopper
 Keywords: |
--------------------------+-------------------------------------------------
 std::string decompress_gzip(const std::string& in)
 {
        std::string res;
        bio::array_source src(in.data(),in.length());
        bio::copy(bio::compose(bio::gzip_decompressor(), src),
 bio::back_inserter(res));
        return res;
 }

 I get this compile error with 1.41 (not with earlier releases):

 home/code/boost_1_41_0/boost/iostreams/read.hpp:191: error: 'class
 boost::iostreams::detail::direct_adapter<boost::iostreams::basic_array_source<char>
>' has no member named 'putback'

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3723>
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:02 UTC