Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4715: custom property_map no longer works for astar_search
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-06 21:05:58
#4715: custom property_map no longer works for astar_search
------------------------------------------------------+---------------------
Reporter: Szymon Gatner <szymon.gatner@â¦> | Owner: jewillco
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: graph
Version: Boost 1.44.0 | Severity: Problem
Resolution: worksforme | Keywords:
------------------------------------------------------+---------------------
Comment (by Szymon Gatner <szymon.gatner@â¦>):
This does not work for me and in fact original code had that file
included.
Even replacing
{{{
namespace boost {
template <typename Functor, typename Arg>
struct property_traits<function_property_map<Functor, Arg> > {
typedef typename boost::result_of<Functor(Arg)>::type value_type;
typedef value_type reference;
typedef Arg key_type;
typedef boost::readable_property_map_tag category;
};
}
}}}
with
{{{
namespace boost {
template <typename Functor, typename Arg>
struct property_traits<function_property_map<Functor, Arg> > {
typedef int value_type;
typedef value_type reference;
typedef Arg key_type;
typedef boost::readable_property_map_tag category;
};
}
}}}
results with same error
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4715#comment:6> 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:04 UTC