Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-07-24 16:03:17

On Tue, 24 Jul 2001 alexanderdz_at_[hidden] wrote:
> C. To got compile error in line B if I pass visitor the way analogous
> to line A. To be more precise, I can't write line B following way, as
> I did for line A
> vertex_processor proc;
> depth_first_visit(g, vertices(g).first[1], visitor(proc), ...

The reason is that the depth_first_visit() function does not use named
template parameters, but just normal template parameters. So it is
incorrect to pass visitor(proc) to depth_first_visit().


 Jeremy Siek www:
 Ph.D. Candidate, IU B'ton email: jsiek_at_[hidden]
 Summer Manager, AT&T Research phone: (973) 360-8185

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