Boost C++ Libraries: Ticket #6438: Parameters in the wrong order for grid_graph index from vertex function https://svn.boost.org/trac10/ticket/6438 <p> The documentation in this page says: </p> <p> <em> Get the index associated with vertex Traits::vertices_size_type get(boost::vertex_index_t, </em></p> <blockquote> <p> Traits::vertex_descriptor vertex, const Graph&amp; graph); </p> </blockquote> <p> but the call only seems to work like this: </p> <blockquote> <p> boost::graph_traits&lt;Graph&gt;::vertex_descriptor v = { { 0, 1 } }; boost::graph_traits&lt;Graph&gt;::vertices_size_type ind = get(boost::vertex_index, graph, v); </p> </blockquote> <p> So not only is it (graph, v) instead of (v, graph), it is also just vertex_index instead of vertex_index_t. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6438 Trac 1.4.3 Jeremiah Willcock Mon, 23 Jan 2012 19:47:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6438#comment:1 https://svn.boost.org/trac10/ticket/6438#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> This was already fixed in 1.48, and seems to have been fixed for a while. </p> Ticket