$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2001-06-28 10:03:03
Jeremy,
unfortunately, neither of variants you have suggested compile.
On Thursday 28 June 2001 18:33, Jeremy Siek wrote:
> identity_property_map id;
> strong_components(g, &comp_no[0], vertex_index_map(id));
>
>
> strong_components(g, &comp_no[0],
> color_map(&colors[0]).root_map(&roots[0]).
> vertex_index_map(id));
>
> strong_components(g, &comp_no[0],
> color_map(&colors[0]).root_map(&roots[0]).
> discover_time_map(&dtime[0]));
>
I have used CVS version of boost and g++ 2.95.2. There's but one error for
each variant, and it goes like this:
../boost-cvs/boost/graph/strong_components.hpp:145: instantiated from here
../boost-cvs/boost/concept_check.hpp:229: conversion from
`boost::vertex_list_graph_tag' to non-scalar type
`boost::incidence_graph_tag' requested
It seems like strong_components failes to notice that VertexListGraph is also
an IncidendeGraph. Is it so, or I have missed anything?
-- Regards, Vladimir