Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5659: The closed_plus structure should accept a custom infinity value.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-30 05:56:38
#5659: The closed_plus structure should accept a custom infinity value.
---------------------------------------------------------+------------------
Reporter: Thomas Sewell <thomas.sewell@â¦> | Owner: asutton
Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------------+------------------
Comment (by Thomas Sewell <thomas.sewell@â¦>):
An alternative fix, of course, would be to make it clear in the
documentation of dijkstra_shortest_paths and similar that if you supply
your own distance_inf then you *must* supply your own distance_combine,
and/or to mandate that with a compile-time assertion in the named
parameters interpreter.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5659#comment:1> 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:06 UTC