Boost logo

Boost :

Subject: Re: [boost] [graph] "get" bundled properties removed?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-09-11 07:45:49

On Tue, 11 Sep 2012, Fabien Castan wrote:

> Hi,
> The "get" function for bundled properties has been removed in the 1.51
> release of boost and I don't know what is the new way to do this.
> This code doesn't compile anymore:
>> boost::write_graphviz( os, g.getGraph(),
>> make_simple_node_writer( get( &Vertex::_name, g.getGraph() ) ),
>> make_simple_node_writer( get( &ProcessEdge::_name, g.getGraph() )
> ) );

That syntax is still supposed to work; it was just changed to be
implemented in a different way. What is your full error message, and what
compiler are you using?

-- Jeremiah Willcock

Boost list run by bdawes at, gregod at, cpdaniel at, john at