Boost C++ Libraries: Ticket #8490: astar_search implicitly requires DistanceType to be a primitive type https://svn.boost.org/trac10/ticket/8490 <p> The astar_search function can optionally take as an argument a value to use as distance_inf. However, if the Distance value type is anything besides the primitive numeric types, a compiler error gets thrown due to line 441, where it tries to specialize the std::numeric_limits template using the Distance value type. Hopefully, there should be a way to specify a default distance_inf value without requiring more general types to be primitive types. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8490 Trac 1.4.3 Jeremiah Willcock Wed, 24 Apr 2013 02:19:16 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8490#comment:1 https://svn.boost.org/trac10/ticket/8490#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84028" title="Added support for distance types without numeric_limits ...">[84028]</a>) Added support for distance types without numeric_limits specializations; changed test to use that functionality to ensure that it keeps working; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8490" title="#8490: Bugs: astar_search implicitly requires DistanceType to be a primitive type (closed: fixed)">#8490</a> </p> Ticket