
Hi,
The get() function for property maps has me puzzled. Calling it in one
context gives a compiler error, while in another context it does not.
A trivial example is below. Note that the code in foo() and main() are
identical. Any guesses as to why the foo() version gives a compiler
error while the main() version does not?
FWIW, the error is:
subgraph.cpp: In member function ‘virtual void MyGraph::foo()’:
subgraph.cpp:15: error: conversion from
‘boost::subgraph_global_property_map