
3 Jul
2010
3 Jul
'10
12:13 a.m.
On Fri, 2 Jul 2010, Trevor Harmon wrote:
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?
I think you may not want to inherit from Boost classes; they are not designed for that. You will probably get more predictable behavior if you just have the subgraph as a member rather than as a base class. -- Jeremiah Willcock