Boost logo

Boost :

From: Kaled Ahmed (medsearedsea_at_[hidden])
Date: 2004-10-02 11:08:54


The following snippet from the BGL User Guide and Reference Manual, gives an
error using Borland CBX:

template <typename Graph, typename TransDelayMap, typename VertexNameMap>
void print_trans_delay( typename graph_traits<Graph>::edge_descriptor e,
const Graph& g,TransDelayMAp delay_map, VertexNameMap name_map)
{
  std::cout << "trans_delay(" << get(name_map, source(e,g)) << "," <<
               get(name_map, target(e,g)) << ")= " << get(delay_map, e);
}

The error is:

"untitled.cpp": E2449 Size of 'print_trans_delay' is unknown or zero at line
27

Please advise.

                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk