On Mon, 27 Aug 2012, Tristram Gräbener wrote: (snip)
What are you patching in Boost? Using a shared_ptr and custom compare and combine doesn't require any changes to Boost.Graph as far as I know.
I believe that if the relaxation would use a reference instead of a copy, there would be no consequence for the library.
It would allow to use the properties in a straightfoward and more homogenous way to use the properties (not having to use them differently when having small properties or large ones).
However, if there is an actual reason (other than : “properties should be small”) to use copy instead of a const reference during the relaxation I'd eager to learn (I'm no C++ guru)
Please see if what's in the trunk now (r80264 or above) satisfies your requirements. -- Jeremiah Willcock