[Boost-bugs] [Boost C++ Libraries] #8490: astar_search implicitly requires DistanceType to be a primitive type

Subject: [Boost-bugs] [Boost C++ Libraries] #8490: astar_search implicitly requires DistanceType to be a primitive type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-24 01:56:53


#8490: astar_search implicitly requires DistanceType to be a primitive type
---------------------------------------------------+------------------------
 Reporter: Luis G. Torres <lgtorres42@…> | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: astar |
---------------------------------------------------+------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8490>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC