Boost C++ Libraries: Ticket #8437: /boost/iostreams/stream.hpp possibly wrong detail::stream_base superclass https://svn.boost.org/trac10/ticket/8437 <p> The file contains: </p> <p> typedef typename stream_traits&lt;Device, Tr&gt;::stream_type stream_type; ... stream_base() : pbase_type(), stream_type(&amp;member) { } </p> <p> Thus stream_type *must* be a supertype of stream_base; however, the only supertypes are: </p> <blockquote> <p> : protected base_from_member&lt; stream_buffer&lt;Device, Tr, Alloc&gt; &gt;, </p> <blockquote> <p> public Base </p> </blockquote> </blockquote> <p> And the default value for template argument, Base, is: </p> <blockquote> <p> typename Base = <em> VC6 Workaround. </em></p> <blockquote> <p> BOOST_DEDUCED_TYPENAME detail::stream_traits&lt;Device, Tr&gt;::stream_type </p> </blockquote> </blockquote> <p> So I would guess type stream_type typedef should be removed and Base substituted for stream_type in the CTOR intialization list. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8437 Trac 1.4.3 viboes Sat, 20 Apr 2013 10:51:50 GMT component changed; owner set https://svn.boost.org/trac10/ticket/8437#comment:1 https://svn.boost.org/trac10/ticket/8437#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jonathan Turkanis</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">iostreams</span> </li> </ul> Ticket