$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [BGL] Bundled properties and property maps
From: Alex Brooks (a.brooks_at_[hidden])
Date: 2008-11-18 07:02:49
Sorry, I neglected to point out the line that doesn't compile. It's marked
below:
typedef boost::property_map<Graph, double EdgeProp::*>::type EdgeWeightMap;
// The following line fails to compile
EdgeWeightMap edgeWeightMap = get(&EdgeProp::cost, graph);
Thanks again,
Alex