
25 Jun
2010
25 Jun
'10
1:55 p.m.
On Thu, 24 Jun 2010, W.P. McNeill wrote:
How do I "specialize boost::property_map directly"? This might be the key to the problem.
My current shot in the dark is to try: template<> struct boost::property_map
{ typedef EdgeWeightMap type; typedef EdgeWeightMap const_type; }; which gives me the error
implicit.hpp:116: error: specialization of ‘template
struct boost::property_map’ in different namespace /opt/local/include/boost/graph/properties.hpp:244: error: from definition of ‘template struct boost::property_map’
You need to do:
namespace boost {
template <>
struct property_map