Subject: [Boost-bugs] [Boost C++ Libraries] #5628: filter_iterator - cannot convert from 'char' to 'char &'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-22 12:58:13
#5628: filter_iterator - cannot convert from 'char' to 'char &'
-------------------------------+--------------------------------------------
Reporter: nen777w@⦠| Owner: dave
Type: Bugs | Status: new
Milestone: To Be Determined | Component: iterator
Version: Boost 1.45.0 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
MSVS 2008 - error C2440: 'return' : cannot convert from 'char' to 'char &'
d:\projects\...\boost\archive\iterators\remove_whitespace.hpp 117
{{{
std::ifstream ifs_("test.arc", std::ios_base::in|std::ios_base::binary);
std::ofstream ofs_("test.rez", std::ios_base::out|std::ios_base::binary);
typedef boost::archive::iterators::transform_width<
boost::archive::iterators::binary_from_base64<
boost::archive::iterators::remove_whitespace<std::istreambuf_iterator<char>
>
>, 8, 6
> base64_to_bin_t;
std::copy(
base64_to_bin_t(std::istreambuf_iterator<char>(ifs_>>
std::noskipws) )
, base64_to_bin_t(std::istreambuf_iterator<char>() )
, std::ostreambuf_iterator<char>(ofs_)
);
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5628> 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:06 UTC