Boost C++ Libraries: Ticket #9021: Cannot export boost::iostreams::source implementation on MSVC https://svn.boost.org/trac10/ticket/9021 <p> The following fails on MSVC 10 (VS2010) and MSVC 11 (VS2012) at least: </p> <blockquote> <p> #include &lt;boost/iostreams/concepts.hpp&gt; class <span class="underline">declspec(dllexport) mystream : public boost::iostreams::source {}; </span></p> </blockquote> <p> with the error: </p> <blockquote> <p> error C2338: (is_convertible&lt;Mode, two_sequence&gt;::value) </p> </blockquote> <p> 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? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9021 Trac 1.4.3