Opened 9 years ago
#9021 new Bugs
Cannot export boost::iostreams::source implementation on MSVC
Reported by: | Owned by: | Jonathan Turkanis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | iostreams |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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?
Note:
See TracTickets
for help on using tickets.