|
Boost Users : |
Subject: [Boost-users] Heterogeneous Bundled Properties (boost::detail::error_property_not_found)
From: Mathieu Malaterre (mathieu.malaterre_at_[hidden])
Date: 2009-09-11 09:24:31
Hi there,
I am reading the following documentation:
http://www.boost.org/doc/libs/1_40_0/libs/graph/doc/bundles.html
I found the following test: libs/graph/test/bundled_properties.cpp,
but I still do not understand how I can define a graph with
heterogeneous vertex type. Could someone please let me know how to do
that ?
I tried the following two approaches:
typedef adjacency_list < listS,
vecS,
directedS,
boost::any
>graph_type;
and
struct Fruit { virtual ~Fruit() {} };
typedef adjacency_list < listS,
vecS,
directedS,
Fruit*
>graph_type;
But I when retrieving the vertex I always get a
boost::detail::error_property_not_found
Thanks
-- Mathieu
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