
On 05/05/2010 2:52 PM, Jeremiah Willcock wrote:
On Wed, 5 May 2010, Geoff Hilton wrote:
On 04/05/2010 2:43 PM, Trevor Harmon wrote:
On May 4, 2010, at 7:57 AM, Geoff Hilton wrote:
I've double-checked and found the thread I was thinking of, search for messages containing the subject "[BGL] Bundled properties and property maps" that'll get you the thread,
http://lists.boost.org/boost-users/2008/12/43247.php
as well as "[BGL] A bug in const bundle_property_map or in Readable Property Map Concept?"
http://lists.boost.org/boost-users/2009/05/48237.php
though according to Andrew the issue in question was fixed in 1.40, so you might have found something new unless you're using a prior incarnation.
I'm using Boost 1.42.0. I filed a bug on this:
Is using property_map<graph>::const_type not acceptable? That does work right now.
-- Jeremiah Willcock
const_type! Good point, I hadn't thought of it. I'm thinking it may be a case of under-documentation. I believe I was originally told that const_type is primarily an implementation detail, whether I'm remembering incorrectly or that has changed, it might be a good idea to mention const_type and its' purpose in the documentation, along with (at least) a one or two line example for the sake of making things mind-numbingly clear. Hopefully, the (seemingly) oft-raised question can then finally be put out to pasture. Geoff