Subject: [Boost-bugs] [Boost C++ Libraries] #3279: SymmetricFilter does not compile with non-char types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-20 07:23:52
#3279: SymmetricFilter does not compile with non-char types
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: turkanis
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: iostreams
Version: Boost 1.39.0 | Severity: Problem
Keywords: iostreams |
--------------------------+-------------------------------------------------
If I use SymmetricFilter template with a type other than char (i.e.
uint8_t) I get a compiler error when compiling
boost/iostreams/filter/symmetric.hpp:
template<typename Sink>
void close(Sink& snk, BOOST_IOS::openmode which)
IMHO the lines
char dummy;
const char* end = &dummy;
should read
char_type dummy;
const char_type* end = &dummy;
Please consider a change.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3279> 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:00 UTC