Boost C++ Libraries: Ticket #13: iterator_adapter and abstract classes https://svn.boost.org/trac10/ticket/13 <pre class="wiki">Footnote [5] on the Boost Iterator Adaptor Library documentation page states that &gt; The value_type of an iterator may not be &gt; an abstract base class, [...] This is not true. The value_type is only used as result type of operator[], so there ought to be no problem if the iterator is used as bidirectional and not as random access iterator. The problem was caused by the structs is_named_parameter and make_arg. I changed is_convertible&lt;Value,named_template_param_base&gt; to is_convertible&lt;Value*,named_template_param_base*&gt; two times and everyting works beautifully, i.e. the appended file compiles. MfG Marvin H. Sielenkemper </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13 Trac 1.4.3 sielenk Sun, 11 Nov 2001 12:12:43 GMT <link>https://svn.boost.org/trac10/ticket/13#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=72183 The seems to be a problem attaching files ... I'll put the important parts in here (Base is a class with purely virtual functions): typedef std::vector&lt;Base *&gt; Vector; typedef boost::indirect_iterator_generator&lt; Vector::iterator, Base, boost::iterator_category_is&lt; std::bidirectional_iterator_tag &gt; &gt;::type Iterator; boost::function_requires&lt; boost::Mutable_BidirectionalIteratorConcept&lt; Iterator &gt; &gt;(); </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>david_abrahams</dc:creator> <pubDate>Fri, 14 Oct 2005 15:16:38 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/13#comment:2 https://svn.boost.org/trac10/ticket/13#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=52572 The library has been completely rewritten; the footnote in question no longer exists, and as far as I know, the capability in question is enabled in the new version of the library. </pre> Ticket