[Boost-bugs] [Boost C++ Libraries] #10072: filtering_stream::size() is not const

Subject: [Boost-bugs] [Boost C++ Libraries] #10072: filtering_stream::size() is not const
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-27 08:32:15


#10072: filtering_stream::size() is not const
---------------------------------------+-----------------------
 Reporter: Georg Baum <Georg.Baum@…> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
---------------------------------------+-----------------------
 According to the documentation at
 http://www.boost.org/doc/libs/1_55_0/libs/iostreams/doc/classes/filtering_stream.html,
 filtering_stream::size() should be const, but it is declared non-const.
 The implementation does not change the class (it calls the const metzhod
 chain_->size()). Therefore I believe that the non-constness is an
 oversight. Please make size() const to match the documentation.

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