Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Color Maps
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2010-01-31 12:09:33


>
> // Calling DFS with named parameters
> depth_first_search(*g, visitor(actions), root_vertex(source));
>

 The named parameter DFS only takes two parameters - sort of. The graph and
a named_params composition. You probably need to write:

dfs(*g, visitor(actions).root_vertex(source));

Note the "." instead of a ",".

Andrew Sutton
andrew.n.sutton_at_[hidden]



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