Subject: [Boost-bugs] [Boost C++ Libraries] #9021: Cannot export boost::iostreams::source implementation on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-20 20:03:29
#9021: Cannot export boost::iostreams::source implementation on MSVC
------------------------------+-----------------------
Reporter: mathstuf@⦠| Owner: turkanis
Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
Version: Boost 1.54.0 | Severity: Problem
Keywords: |
------------------------------+-----------------------
The following fails on MSVC 10 (VS2010) and MSVC 11 (VS2012) at least:
#include <boost/iostreams/concepts.hpp>
class __declspec(dllexport) mystream : public boost::iostreams::source
{};
with the error:
error C2338: (is_convertible<Mode, two_sequence>::value)
in concepts.hpp line 47. The same think happens with a sink. Are custom
sources and sinks not meant to be exported from a library?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9021> 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:13 UTC