Boost logo

Boost Users :

Subject: Re: [Boost-users] Graph: writing graph properties to graphml file
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-03-15 13:39:41


On Thu, 15 Mar 2012, Juerg Tschirren wrote:

> Thanks Jeremiah for the prompt answer. Sorry, I forgot to mention, your
> suggested change to graphml.hpp was the first thing I tried yesterday.
> Everything compiles with your suggested change, but the result is a
> runtime error (boost::any_cast exception). As far as I can tell the
> problem origins in line 292 in graphml.hpp. But so far I wasn't able to
> wrap my mind around that dynamic_property_map and I couldn't quite
> figure out yet what is going on and what is supposed to be going on.

Please try the version of graphml.hpp that is in the trunk now using
Graph* as your key type.

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net