Boost C++ Libraries: Ticket #9819: Documentation issue with Boost Graph Library https://svn.boost.org/trac10/ticket/9819 <p> The documentation (<a href="http://www.boost.org/doc/libs/1_55_0/libs/graph/doc/mcgregor_common_subgraphs.html">http://www.boost.org/doc/libs/1_55_0/libs/graph/doc/mcgregor_common_subgraphs.html</a>) for the mcgregor_common_subgraphs() function indicates that the only_connected_subgraphs bool comes after the callback function: </p> <pre class="wiki">// named parameter version template &lt;typename GraphFirst, typename GraphSecond, typename SubGraphCallback, typename Param, typename Tag, typename Rest&gt; void mcgregor_common_subgraphs (const GraphFirst&amp; graph1, const GraphSecond&amp; graph2, SubGraphCallback user_callback, bool only_connected_subgraphs, const bgl_named_params&amp; params); </pre><p> However, in the code it actually comes before the callback (from boost/graph/mcgregor_common_subgraphs.hpp): </p> <pre class="wiki"> // Named parameter variant of mcgregor_common_subgraphs template &lt;typename GraphFirst, typename GraphSecond, typename SubGraphCallback, typename Param, typename Tag, typename Rest&gt; void mcgregor_common_subgraphs (const GraphFirst&amp; graph1, const GraphSecond&amp; graph2, bool only_connected_subgraphs, SubGraphCallback user_callback, const bgl_named_params&lt;Param, Tag, Rest&gt;&amp; params) { </pre><p> The examples in the documentation, though, use the working bool-first order. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9819 Trac 1.4.3