Boost logo

Boost :

Subject: [boost] function dispatch mismatch in graph_traits
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2009-02-08 10:19:14

    I am having trouble making leda_graph wrapper for GRAPH<vtype,
etype> class. In leda_graph.hpp the wrapper is defined as

  template<class vtype, class etype>
   vertices(const leda::GRAPH<vtype, etype>& g)

Given this definition the right (and only way i think) to invoke it
by expression
 vertices<vtype, etype>(G)

My problem is that all internal graph routines invoke the function by expression

I would appreciate any ideas about how can i redirect vertices(G) to
vertices<vtype, etype>(G) where
vtype = vrec
etype = erec
G = leda::GRAPH<vrec, erec>

I am afraid that i might have to rewrite a wrapper for specifically
leda::GRAPH<vrec, erec>. Can this be avoided.


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